summaryrefslogtreecommitdiff
path: root/tests/touch/empty-file
diff options
context:
space:
mode:
Diffstat (limited to 'tests/touch/empty-file')
-rwxr-xr-xtests/touch/empty-file8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/touch/empty-file b/tests/touch/empty-file
index e279138b2..e93bf0ac0 100755
--- a/tests/touch/empty-file
+++ b/tests/touch/empty-file
@@ -21,12 +21,8 @@
# fails to work on SunOS 4.1.3 with `most of the recommended patches' when
# the empty file is on an NFS-mounted 4.2 volume.
-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
DEFAULT_SLEEP_SECONDS=2
SLEEP_SECONDS=${SLEEP_SECONDS=$DEFAULT_SLEEP_SECONDS}