summaryrefslogtreecommitdiff
path: root/tests/rm/fail-2eperm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/fail-2eperm')
-rwxr-xr-xtests/rm/fail-2eperm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rm/fail-2eperm b/tests/rm/fail-2eperm
index bafd5bfcc..66efbce29 100755
--- a/tests/rm/fail-2eperm
+++ b/tests/rm/fail-2eperm
@@ -23,8 +23,8 @@ if test "$VERBOSE" = yes; then
fi
. $srcdir/../lang-default
-PRIV_CHECK_ARG=require-root . $srcdir/../priv-check
. $srcdir/../test-lib.sh
+require_root_
# The containing directory must be owned by the user who eventually runs rm.
chown $NON_ROOT_USERNAME .