diff options
Diffstat (limited to 'tests/du/inaccessible-cwd')
-rwxr-xr-x | tests/du/inaccessible-cwd | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/du/inaccessible-cwd b/tests/du/inaccessible-cwd index 1a4bf9fe6..a1656b217 100755 --- a/tests/du/inaccessible-cwd +++ b/tests/du/inaccessible-cwd @@ -20,12 +20,8 @@ # Before the switch to an fts-based implementation in coreutils 5.0.92, # this test would fail. -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 skip_if_root_ cwd=`pwd` |