Overview
| Comment: | OFDDPSocketTests: Handle EPROTONOSUPPORT |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
9cc4481663f0d66e05e7731249c73ae5 |
| User & Date: | js on 2023-01-07 17:08:47 |
| Other Links: | manifest | tags |
Context
|
2023-01-08
| ||
| 21:43 | OFBlockTests: Exclude miscompiled tests on Win32 (check-in: 10977992a8 user: js tags: trunk) | |
|
2023-01-07
| ||
| 17:08 | OFDDPSocketTests: Handle EPROTONOSUPPORT (check-in: 9cc4481663 user: js tags: trunk) | |
| 14:48 | tests: Clean up if select() is unsupported for SPX (check-in: a9150217f2 user: js tags: trunk) | |
Changes
Modified src/exceptions/OFBindDDPSocketFailedException.m from [d045de1b08] to [bcb93d003b].
| ︙ | |||
70 71 72 73 74 75 76 | 70 71 72 73 74 75 76 77 78 79 80 81 82 | - - + + |
return self;
}
- (OFString *)description
{
return [OFString stringWithFormat:
@"Binding to port %" @PRIx8 @" of node %" @PRIx8 @" on network "
|
Modified tests/OFDDPSocketTests.m from [74ccdceffd] to [030a88638b].
| ︙ | |||
36 37 38 39 40 41 42 43 44 45 46 47 48 49 | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | + |
R(address1 = [sock bindToNetwork: 0
node: 0
port: 0
protocolType: 11]))
} @catch (OFBindSocketFailedException *e) {
switch (e.errNo) {
case EAFNOSUPPORT:
case EPROTONOSUPPORT:
[OFStdOut setForegroundColor: [OFColor lime]];
[OFStdOut writeLine:
@"\r[OFDDPSocket] -[bindToNetwork:node:port:"
@"protocolType:] AppleTalk unsupported, skipping "
@"tests"];
break;
case EADDRNOTAVAIL:
|
| ︙ |