| ca62bc5f | 23-Jan-2016 |
Enji Cooper <[email protected]> |
Use different ports in the TCP/UDP testcases with the first set and the second set (increment the original ports by 10)
This avoids issues where the first listening socket might not be torn down by
Use different ports in the TCP/UDP testcases with the first set and the second set (increment the original ports by 10)
This avoids issues where the first listening socket might not be torn down by the time it makes it to the second set of testcases.
The sockets should likely only be setup once, but this keeps in the spirit of the original testcases, so this will be easier to backport to ^/stable/9
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
show more ...
|
| 0d6796ed | 23-Jan-2016 |
Enji Cooper <[email protected]> |
Don't run the t_cmsg_len testcase on 64-bit architectures
It always fails when trying to send through the sendit(9) private KPI in the kernel due to a size mismatch between the msghdr and data being
Don't run the t_cmsg_len testcase on 64-bit architectures
It always fails when trying to send through the sendit(9) private KPI in the kernel due to a size mismatch between the msghdr and data being sent [*], which suspiciously seems like it's related to sizeof pointers instead of scalars, or something of that ilk
MFC after: 1 week PR: 206543, 206544 [*] Sponsored by: EMC / Isilon Storage Division
show more ...
|
| cc67e311 | 16-Jan-2016 |
Enji Cooper <[email protected]> |
Fix warnings with clang/gcc
- Get rid of unused argc/argv variables in main - Exit on failure with a return code of 1 instead of -1 with err/errx as a return code of -1 is implementation dependent
Fix warnings with clang/gcc
- Get rid of unused argc/argv variables in main - Exit on failure with a return code of 1 instead of -1 with err/errx as a return code of -1 is implementation dependent - Bump WARNS to 6
MFC after: 5 days Sponsored by: EMC / Isilon Storage Division
show more ...
|
| eb1c509f | 16-Jan-2016 |
Enji Cooper <[email protected]> |
Fix warnings with gcc 5.0
reconnect.c: - Convert the K&R prototype of main to an ANSI prototype to mute a warning from gcc 4.2.1 - Close s_sock2 after finishing off the last test to plug a leak an
Fix warnings with gcc 5.0
reconnect.c: - Convert the K&R prototype of main to an ANSI prototype to mute a warning from gcc 4.2.1 - Close s_sock2 after finishing off the last test to plug a leak and mute a warning from gcc 5.0 about a -Wunused-but-set variable
sendfile.c: - Fix a -Wunused-but-set warning with gcc 5.0 with pagesize in main(..)
MFC after: 5 days Sponsored by: EMC / Isilon Storage Division
show more ...
|
| c084ac28 | 16-Jan-2016 |
Enji Cooper <[email protected]> |
Test for EPROTOTYPE not EPROTONOSUPPORT
- `SOCK_RAW` is the implied supported type parameter for socket(2) per route(4) - localsw in `sys/kern/uipc_usrreq.c` doesn't have an entry for `SOCK_RAW`, so
Test for EPROTOTYPE not EPROTONOSUPPORT
- `SOCK_RAW` is the implied supported type parameter for socket(2) per route(4) - localsw in `sys/kern/uipc_usrreq.c` doesn't have an entry for `SOCK_RAW`, so the prototype is invalid (this isn't explicitly documented anywhere I could find)
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
show more ...
|