]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Adjust for slightly different output.
authorJim Meyering <jim@meyering.net>
Thu, 2 Oct 2003 20:29:12 +0000 (20:29 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 2 Oct 2003 20:29:12 +0000 (20:29 +0000)
tests/du/trailing-slash

index 8042c589837ae89d60b69d397437813fe350c33d..696a5823378696fb96f27b07f80f841e2bedcd86 100755 (executable)
@@ -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