svn commit: r273015 - head/contrib/netbsd-tests/lib/libc/gen

Garrett Cooper ngie at FreeBSD.org
Sun Oct 12 23:46:25 UTC 2014


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


More information about the svn-src-all mailing list