mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
test_eagain_*_* should've been using nonblocking sockets instead of
blocking sockets. The error was not exposed as long as the kernel suffered from PR kern/185812. Now corrected, these tests pass on DragonFlyBSD 3.6.0. PR: kern/185812 Sponsored by: Spectra Logic Corporation MFC after: 2 weeks
This commit is contained in:
parent
e4dfeb5bb1
commit
b9a9db10d4
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ test_eagain(size_t sndbufsize, size_t rcvbufsize)
|
|||
ssize_t ssize, rsize;
|
||||
|
||||
/* setup the socket pair */
|
||||
do_socketpair(sv);
|
||||
do_socketpair_nonblocking(sv);
|
||||
/* Setup the buffers */
|
||||
ATF_REQUIRE_EQ(0, setsockopt(sv[0], SOL_SOCKET, SO_SNDBUF, &sndbufsize,
|
||||
sizeof(sndbufsize)));
|
||||
|
|
|
|||
Loading…
Reference in a new issue