Differences From Artifact [769c4509cc]:
- File
tests/OFSCTPSocketTests.m
— part of check-in
[e8857652bf]
at
2020-05-19 22:00:40
on branch trunk
— tests: Gracefully handle SCTP being unsupported
NetBSD has the necessary headers, but does not enable it by default. (user: js, size: 2037) [annotate] [blame] [check-ins using]
To Artifact [42f1cba28c]:
- File tests/OFSCTPSocketTests.m — part of check-in [cdaa971823] at 2020-05-22 00:16:56 on branch trunk — tests: Use new terminal control methods (user: js, size: 2054) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
38 39 40 41 42 43 44 | @try { TEST(@"-[bindToHost:port:]", (port = [server bindToHost: @"127.0.0.1" port: 0])) } @catch (OFBindFailedException *e) { switch (e.errNo) { case EPROTONOSUPPORT: | > | | | < | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | @try { TEST(@"-[bindToHost:port:]", (port = [server bindToHost: @"127.0.0.1" port: 0])) } @catch (OFBindFailedException *e) { switch (e.errNo) { case EPROTONOSUPPORT: of_stdout.foregroundColor = [OFColor lime]; [of_stdout writeLine: @"[OFSCTPSocket] -[bindToHost:port:]: " @"SCTP unsupported, skipping tests"]; break; default: @throw e; } objc_autoreleasePoolPop(pool); return; |
︙ | ︙ |