mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
MFC r271397:
r271397 (by asomers): Abort the create_socket test if socket creation fails. CID: 1232756
This commit is contained in:
parent
36a3ca2a87
commit
d35cf36028
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=293273
@ -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) */
|
||||
|
Loading…
Reference in New Issue
Block a user