Author: ngie
Date: Sun Oct 12 23:46:24 2014
New Revision: 273015
URL: https://svnweb.freebsd.org/changeset/base/273015

Log:
  Expect nice_err to fail on FreeBSD with unprivileged users
  
  PR: 189821
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/contrib/netbsd-tests/lib/libc/gen/t_nice.c

Modified: head/contrib/netbsd-tests/lib/libc/gen/t_nice.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/gen/t_nice.c     Sun Oct 12 23:01:25 
2014        (r273014)
+++ head/contrib/netbsd-tests/lib/libc/gen/t_nice.c     Sun Oct 12 23:46:24 
2014        (r273015)
@@ -72,6 +72,11 @@ ATF_TC_BODY(nice_err, tc)
 {
        int i;
 
+#if defined(__FreeBSD__)
+       atf_tc_expect_fail("nice(incr) with incr < 0 fails with unprivileged "
+          "users and sets errno == EPERM; see PR # 189821 for more details");
+#endif
+
        /*
         * The call should fail with EPERM if the
         * supplied parameter is negative and the
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to