Differences From Artifact [749f241e9f]:
- File
tests/OFSCTPSocketTests.m
— part of check-in
[0fd2b1b4c8]
at
2024-05-04 20:05:40
on branch sctp
— OFSCTPSocket: Use a dictionary for message info
This is more extensible. Without this, extending it later would result
in an API and ABI breakage. (user: js, size: 2167) [annotate] [blame] [check-ins using] [more...]
To Artifact [0fc5034587]:
- File tests/OFSCTPSocketTests.m — part of check-in [077ec3efdd] at 2024-11-03 01:04:34 on branch trunk — Skip OFSCTPSocketTests when running in qemu-user (user: js, size: 2418) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
49 50 51 52 53 54 55 | default: @throw e; } } [server listen]; | > | | > > > > > > > > > > > > | 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | default: @throw e; } } [server listen]; @try { [client connectToHost: @"127.0.0.1" port: OFSocketAddressIPPort(&address)]; } @catch (OFConnectSocketFailedException *e) { switch (e.errNo) { case ENOPROTOOPT: /* * When running in qemu-user, binding works but * connecting fails?! */ OTSkip(@"SCTP unsupported"); default: @throw e; } } accepted = [server accept]; OTAssertEqualObjects(OFSocketAddressString(accepted.remoteAddress), @"127.0.0.1"); streamID = [OFNumber numberWithUnsignedShort: 1]; PPID = [OFNumber numberWithUnsignedLong: 1234]; |
︙ | ︙ |