Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2014 23:46:25 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273015 - head/contrib/netbsd-tests/lib/libc/gen
Message-ID:  <201410122346.s9CNkPuw057229@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410122346.s9CNkPuw057229>