diff options
Diffstat (limited to 'tests/rm/fail-eperm')
-rwxr-xr-x | tests/rm/fail-eperm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rm/fail-eperm b/tests/rm/fail-eperm index 4abc9dec6..7bc89da15 100755 --- a/tests/rm/fail-eperm +++ b/tests/rm/fail-eperm @@ -27,7 +27,8 @@ fi # searching below. root can simply create the required # dir/files and run the test as someone else. -PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check +. $srcdir/../test-lib.sh +skip_if_root_ : ${srcdir=.} . $srcdir/../require-perl |