summaryrefslogtreecommitdiff
path: root/tests/cp/special-bits
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/special-bits')
-rwxr-xr-xtests/cp/special-bits8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/cp/special-bits b/tests/cp/special-bits
index 6f32847bc..f09e499fc 100755
--- a/tests/cp/special-bits
+++ b/tests/cp/special-bits
@@ -20,12 +20,8 @@
# This test would fail due to a bug introduced in 4.0y.
# The bug was fixed in 4.0z.
-if test "$VERBOSE" = yes; then
- set -x
- cp --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && cp --version
require_root_
touch a b c || framework_failure