mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Expect nice_err to fail on FreeBSD with unprivileged users
PR: 189821 Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
489dcc9262
commit
62141a34e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273015
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue