summaryrefslogtreecommitdiff
path: root/tests/du/long-from-unreadable
diff options
context:
space:
mode:
Diffstat (limited to 'tests/du/long-from-unreadable')
-rwxr-xr-xtests/du/long-from-unreadable8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/du/long-from-unreadable b/tests/du/long-from-unreadable
index 73d32a676..2b38e69e7 100755
--- a/tests/du/long-from-unreadable
+++ b/tests/du/long-from-unreadable
@@ -28,12 +28,8 @@
# on Linux+PROC_FS systems because its fts implementation would revert
# unnecessarily to using FTS_NOCHDIR mode in this corner case.
-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
proc_file=/proc/self/fd
if test ! -d $proc_file; then