Expect getgroups_err to fail on FreeBSD

PR: 189941
Submitted by: pho
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2014-10-23 05:58:02 +00:00
parent a39196afea
commit edeea1460a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273517

View File

@ -57,6 +57,9 @@ ATF_TC_BODY(getgroups_err, tc)
errno = 0;
#if defined(__FreeBSD__)
atf_tc_expect_fail("Reported as kern/189941");
#endif
ATF_REQUIRE(getgroups(-1, gidset) == -1);
ATF_REQUIRE(errno == EINVAL);
}