diff options
Diffstat (limited to 'tests/du/basic')
-rwxr-xr-x | tests/du/basic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/du/basic b/tests/du/basic index 8b728537b..6d3eeb1e7 100755 --- a/tests/du/basic +++ b/tests/du/basic @@ -63,7 +63,7 @@ compare out exp || fail=1 # Perform this test only if "." is on a local file system. # Otherwise, it would fail e.g., on an NFS-mounted Solaris ZFS file system. -if df --local . >/dev/null 2>&1; then +if is_local_dir_ .; then rm -f out exp du --block-size=$B -a d | sort -r -k2,2 > out || fail=1 echo === >> out |