MFC r271397:

r271397 (by asomers):

Abort the create_socket test if socket creation fails.

CID:		1232756
This commit is contained in:
Enji Cooper 2016-01-06 20:43:41 +00:00
parent 36a3ca2a87
commit d35cf36028
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=293273

View File

@ -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) */