summaryrefslogtreecommitdiff
path: root/tests/du/trailing-slash
diff options
context:
space:
mode:
Diffstat (limited to 'tests/du/trailing-slash')
-rwxr-xr-xtests/du/trailing-slash8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/du/trailing-slash b/tests/du/trailing-slash
index 87fe62a69..70549a80d 100755
--- a/tests/du/trailing-slash
+++ b/tests/du/trailing-slash
@@ -19,12 +19,8 @@
# Before coreutils-4.5.3, it would remove a single trailing slash.
-if test "$VERBOSE" = yes; then
- set -x
- du --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && du --version
mkdir -p dir/1/2 || framework_failure
ln -s dir slink || framework_failure