From a93e93794769b16fea8ce13335d3ca1b5e5b818f Mon Sep 17 00:00:00 2001 From: ngie Date: Thu, 23 Oct 2014 05:58:02 +0000 Subject: Expect getgroups_err to fail on FreeBSD PR: 189941 Submitted by: pho Sponsored by: EMC / Isilon Storage Division --- contrib/netbsd-tests/lib/libc/sys/t_getgroups.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib/netbsd-tests/lib/libc') diff --git a/contrib/netbsd-tests/lib/libc/sys/t_getgroups.c b/contrib/netbsd-tests/lib/libc/sys/t_getgroups.c index 9a8ec8e..12628c2 100644 --- a/contrib/netbsd-tests/lib/libc/sys/t_getgroups.c +++ b/contrib/netbsd-tests/lib/libc/sys/t_getgroups.c @@ -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); } -- cgit v1.1