Author: ngie
Date: Wed Jan 6 20:43:41 2016
New Revision: 293273
URL: https://svnweb.freebsd.org/changeset/base/293273
Log:
MFC r271397:
r271397 (by asomers):
Abort the create_socket test if socket creation fails.
CID: 1232756
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 Wed Jan 6 20:29:15
2016 (r293272)
+++ stable/10/tests/sys/kern/unix_seqpacket_test.c Wed Jan 6 20:43:41
2016 (r293273)
@@ -386,7 +386,7 @@ ATF_TC_BODY(create_socket, tc)
int s;
s = socket(PF_LOCAL, SOCK_SEQPACKET, 0);
- ATF_CHECK(s >= 0);
+ ATF_REQUIRE(s >= 0);
}
/* Create SEQPACKET sockets using socketpair(2) */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"