summaryrefslogtreecommitdiff
path: root/tests/touch/dir-1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/touch/dir-1')
-rwxr-xr-xtests/touch/dir-18
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/touch/dir-1 b/tests/touch/dir-1
index ef1543e26..2d61bb58f 100755
--- a/tests/touch/dir-1
+++ b/tests/touch/dir-1
@@ -2,12 +2,8 @@
# Make sure touch can operate on a directory.
# This was broken in the 4.0[efg] test releases.
-if test "$VERBOSE" = yes; then
- set -x
- touch --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && touch --version
touch . || fail=1
Exit $fail