ObjFW  Check-in [13de836451]

Overview
Comment:OFSPXSocketTests: Handle IPX but not SPX support
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 13de8364516f9cefbed3af1b5a076f414b2072b6e934d01a54ecbd320aa36c0d
User & Date: js on 2020-05-01 11:09:47
Other Links: manifest | tags
Context
2020-05-01
13:58
Fix GCC 4.6 and AmigaOS build check-in: 39cdae41f8 user: js tags: trunk
11:09
OFSPXSocketTests: Handle IPX but not SPX support check-in: 13de836451 user: js tags: trunk
2020-04-29
23:59
Add OFSPXSocket check-in: 857f8edc09 user: js tags: trunk
Changes

Modified tests/OFSPXSocketTests.m from [4b497d9d36] to [6b55cff4e8].

43
44
45
46
47
48
49





50
51
52
53
54
55
56
		    R(address1 = [sockServer bindToPort: 0]))
	} @catch (OFBindFailedException *e) {
		switch (e.errNo) {
		case EAFNOSUPPORT:
			[self outputString: @"[OFSPXSocket] -[bindToPort:]: "
					    @"IPX unsupported, skipping tests\n"
				   inColor: GREEN];





			break;
		case EADDRNOTAVAIL:
			[self outputString: @"[OFSPXSocket] -[bindToPort:]: "
					    @"IPX not configured, skipping "
					    @"tests\n"
				   inColor: GREEN];
			break;







>
>
>
>
>







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
		    R(address1 = [sockServer bindToPort: 0]))
	} @catch (OFBindFailedException *e) {
		switch (e.errNo) {
		case EAFNOSUPPORT:
			[self outputString: @"[OFSPXSocket] -[bindToPort:]: "
					    @"IPX unsupported, skipping tests\n"
				   inColor: GREEN];
			break;
		case ESOCKTNOSUPPORT:
			[self outputString: @"[OFSPXSocket] -[bindToPort:]: "
					    @"SPX unsupported, skipping tests\n"
				   inColor: GREEN];
			break;
		case EADDRNOTAVAIL:
			[self outputString: @"[OFSPXSocket] -[bindToPort:]: "
					    @"IPX not configured, skipping "
					    @"tests\n"
				   inColor: GREEN];
			break;