ObjFW  Check-in [f0be46cc5c]

Overview
Comment:Fix compiling tests on Haiku
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f0be46cc5cca9f7305c428c77a7cea5b9c9cfa5213847d2b174d97b7ce043979
User & Date: js on 2024-11-02 23:20:08
Other Links: manifest | tags
Context
2024-11-02
23:32
Fix minor space errors and typos check-in: fa0f45f5f8 user: js tags: trunk
23:20
Fix compiling tests on Haiku check-in: f0be46cc5c user: js tags: trunk
19:36
Fix exclude glob for `make release` check-in: c9a01cc901 user: js tags: trunk
Changes

Modified tests/OFUNIXSequencedPacketSocketTests.m from [6176995a50] to [6f19c6b757].

57
58
59
60
61
62
63

64

65
66
67
68
69
70
71
	@try {
		[sockServer bindToPath: path];
	} @catch (OFBindSocketFailedException *e) {
		switch (e.errNo) {
		case EAFNOSUPPORT:
		case EPERM:
		case EPROTONOSUPPORT:

		case ESOCKTNOSUPPORT:

			OTSkip(@"UNIX sequenced packet sockets unsupported");
		default:
			@throw e;
		}
	}

	@try {







>

>







57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
	@try {
		[sockServer bindToPath: path];
	} @catch (OFBindSocketFailedException *e) {
		switch (e.errNo) {
		case EAFNOSUPPORT:
		case EPERM:
		case EPROTONOSUPPORT:
#ifdef ESOCKTNOSUPPORT
		case ESOCKTNOSUPPORT:
#endif
			OTSkip(@"UNIX sequenced packet sockets unsupported");
		default:
			@throw e;
		}
	}

	@try {