summaryrefslogtreecommitdiff
path: root/tests/chmod
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chmod')
-rwxr-xr-xtests/chmod/no-x5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/chmod/no-x b/tests/chmod/no-x
index 64dffb95b..8e84ad262 100755
--- a/tests/chmod/no-x
+++ b/tests/chmod/no-x
@@ -23,10 +23,10 @@ if test "$VERBOSE" = yes; then
fi
. $srcdir/../lang-default
-PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
. $srcdir/../test-lib.sh
+skip_if_root_
-mkdir -p d/no-x/y || framework_failure
+mkdir -p d/no-x/y a/b || framework_failure
chmod u=rw d/no-x || framework_failure
fail=0
@@ -52,7 +52,6 @@ EOF
compare out exp || fail=1
-mkdir -p a/b
cd a
# This will fail with ``chmod: fts_read failed: Permission denied''
chmod a-x . b 2> /dev/null && fail=1