]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Add tests for just-fixed bug.
authorJim Meyering <jim@meyering.net>
Tue, 15 Aug 2000 13:12:48 +0000 (13:12 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 15 Aug 2000 13:12:48 +0000 (13:12 +0000)
tests/du/two-args

index 1e450c3d604685479608437963becb9421e50c09..6de6d0fe85fe98e73a45d9ebb68e1304f4d4d689 100755 (executable)
@@ -16,4 +16,9 @@ mkdir -p $tmp/1 $tmp/2
 test -d $tmp || fail=1
 du $tmp/1 $tmp/2 > /dev/null || fail=1
 
+# Make sure `du . $tmp' and `du .. $tmp' work.
+# These would fail prior to fileutils-4.0y.
+du . $tmp > /dev/null || fail=1
+du .. $tmp > /dev/null || fail=1
+
 exit $fail