From: Jim Meyering Date: Thu, 2 Oct 2003 20:29:12 +0000 (+0000) Subject: Adjust for slightly different output. X-Git-Tag: v5.1.0~490 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e59a4b3e650eba7380d374e8f5b741f1adc9a41;p=thirdparty%2Fcoreutils.git Adjust for slightly different output. --- diff --git a/tests/du/trailing-slash b/tests/du/trailing-slash index 8042c58983..696a582337 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