summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/du/two-args5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/du/two-args b/tests/du/two-args
index 1e450c3d6..6de6d0fe8 100755
--- a/tests/du/two-args
+++ b/tests/du/two-args
@@ -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