Expect nice_err to fail on FreeBSD with unprivileged users

PR: 189821
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2014-10-12 23:46:24 +00:00
parent 489dcc9262
commit 62141a34e7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273015

View File

@ -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