Only skip sys.netinet.socket_afinet.socket_afinet_bind_zero in CI env

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Li-Wen Hsu 2020-04-20 14:24:13 +00:00
parent a1841da4fa
commit 69b7dbeb38
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360121

View file

@ -51,7 +51,8 @@ ATF_TC_BODY(socket_afinet_bind_zero, tc)
int sd, rc;
struct sockaddr_in sin;
atf_tc_skip("doesn't work when mac_portacl(4) loaded (bug238781)");
if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
atf_tc_skip("doesn't work when mac_portacl(4) loaded (https://bugs.freebsd.org/238781)");
sd = socket(PF_INET, SOCK_DGRAM, 0);
ATF_CHECK(sd >= 0);