summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/du/hard-link7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/du/hard-link b/tests/du/hard-link
index e94c7c550..6e0eaade9 100755
--- a/tests/du/hard-link
+++ b/tests/du/hard-link
@@ -30,10 +30,11 @@ fi
fail=0
-du -a --exclude=sub dir | sed 's/^[0-9][0-9]* //' > out || fail=1
+du -a --exclude=sub dir \
+ | sed 's/^[0-9][0-9]* //' > out || fail=1
echo === >> out
-du --count-links -a --exclude=sub dir | sed 's/^[0-9][0-9]* //' >> out \
- || fail=1
+du -a --exclude=sub --count-links dir \
+ | sed 's/^[0-9][0-9]* //' >> out || fail=1
cat <<\EOF > exp
dir/f1
dir