Date: Wed, 6 Jan 2016 20:43:41 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r293273 - stable/10/tests/sys/kern Message-ID: <201601062043.u06KhfUi097311@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601062043.u06KhfUi097311>