svn commit: r262871 - stable/10/tests/sys/kern
Alan Somers
asomers at FreeBSD.org
Thu Mar 6 21:47:23 UTC 2014
Author: asomers
Date: Thu Mar 6 21:47:22 2014
New Revision: 262871
URL: http://svnweb.freebsd.org/changeset/base/262871
Log:
MFC r262133
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.
Modified:
stable/10/tests/sys/kern/unix_seqpacket_test.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/tests/sys/kern/unix_seqpacket_test.c
==============================================================================
--- stable/10/tests/sys/kern/unix_seqpacket_test.c Thu Mar 6 21:07:13 2014 (r262870)
+++ stable/10/tests/sys/kern/unix_seqpacket_test.c Thu Mar 6 21:47:22 2014 (r262871)
@@ -136,7 +136,7 @@ test_eagain(size_t sndbufsize, size_t rc
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)));
More information about the svn-src-all
mailing list