ObjFW  Check-in [89e2862b87]

Overview
Comment:OFSPXStreamSocketTests: Catch EPROTONOSUPPORT

Wine uses this instead.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 89e2862b874f395b8313b44055282c08237e676f9e8549586449b62500faab1e
User & Date: js on 2022-09-23 18:20:52
Other Links: manifest | tags
Context
2022-09-23
18:58
Update buildsys check-in: 06369eed8e user: js tags: trunk
18:20
OFSPXStreamSocketTests: Catch EPROTONOSUPPORT check-in: 89e2862b87 user: js tags: trunk
14:24
Add macOS 12 to GitHub Actions check-in: 22c3248381 user: js tags: trunk
Changes

Modified tests/OFSPXStreamSocketTests.m from [7313f54116] to [f308a3ebf8].

92
93
94
95
96
97
98

99
100
101
102
103
104
105
		case EAFNOSUPPORT:
			[OFStdOut setForegroundColor: [OFColor lime]];
			[OFStdOut writeLine:
			    @"\r[OFSPXStreamSocket] -[bindToPort:]: "
			    @"IPX unsupported, skipping tests"];
			break;
		case ESOCKTNOSUPPORT:

			[OFStdOut setForegroundColor: [OFColor lime]];
			[OFStdOut writeLine:
			    @"\r[OFSPXStreamSocket] -[bindToPort:]: "
			    @"SPX unsupported, skipping tests"];
			break;
		case EADDRNOTAVAIL:
			[OFStdOut setForegroundColor: [OFColor lime]];







>







92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
		case EAFNOSUPPORT:
			[OFStdOut setForegroundColor: [OFColor lime]];
			[OFStdOut writeLine:
			    @"\r[OFSPXStreamSocket] -[bindToPort:]: "
			    @"IPX unsupported, skipping tests"];
			break;
		case ESOCKTNOSUPPORT:
		case EPROTONOSUPPORT:
			[OFStdOut setForegroundColor: [OFColor lime]];
			[OFStdOut writeLine:
			    @"\r[OFSPXStreamSocket] -[bindToPort:]: "
			    @"SPX unsupported, skipping tests"];
			break;
		case EADDRNOTAVAIL:
			[OFStdOut setForegroundColor: [OFColor lime]];