diff options
Diffstat (limited to 'tests/du')
-rwxr-xr-x | tests/du/trailing-slash | 5 |
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 |