summaryrefslogtreecommitdiff
path: root/tests/mkdir/writable-under-readonly
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mkdir/writable-under-readonly')
-rwxr-xr-xtests/mkdir/writable-under-readonly8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/mkdir/writable-under-readonly b/tests/mkdir/writable-under-readonly
index 18a44ae9a..2c8ac52f4 100755
--- a/tests/mkdir/writable-under-readonly
+++ b/tests/mkdir/writable-under-readonly
@@ -24,12 +24,8 @@
#
# Demonstrate the problem, as root:
-if test "$VERBOSE" = yes; then
- set -x
- mkdir --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && mkdir --version
require_root_
# FIXME: for now, skip it unconditionally