From 70b951593ed7926f4d9a784f0f0e285876e2628c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 15 Aug 2000 13:12:48 +0000 Subject: Add tests for just-fixed bug. --- tests/du/two-args | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3-70-g09d2