summaryrefslogtreecommitdiff
path: root/tests/du
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-10-02 20:29:12 +0000
committerJim Meyering <jim@meyering.net>2003-10-02 20:29:12 +0000
commit2e59a4b3e650eba7380d374e8f5b741f1adc9a41 (patch)
tree578a1cbfcc18eaaf3a175f8762ac112dd679210b /tests/du
parent95c948b06abd8d99091bb27415fda25e7b303aee (diff)
downloadcoreutils-2e59a4b3e650eba7380d374e8f5b741f1adc9a41.tar.xz
Adjust for slightly different output.
Diffstat (limited to 'tests/du')
-rwxr-xr-xtests/du/trailing-slash5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/du/trailing-slash b/tests/du/trailing-slash
index 8042c5898..696a58233 100755
--- a/tests/du/trailing-slash
+++ b/tests/du/trailing-slash
@@ -29,12 +29,13 @@ fail=0
du slink/ | sed 's/^[0-9][0-9]* //' > out
echo === >> out
-# Ensure that with -L we get the same results even without the trailing slash.
+# Ensure that with -L we get the same results (modulo the trailing slash
+# on the third line) even without the trailing slash on the command line.
du -L slink | sed 's/^[0-9][0-9]* //' >> out
cat <<\EOF > exp
slink/1/2
slink/1
-slink
+slink/
===
slink/1/2
slink/1