From: Jim Meyering Date: Sun, 13 Oct 2002 13:33:05 +0000 (+0000) Subject: whoops X-Git-Tag: v4.5.3~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dafd5b2fcb0fa381725ca565a7905176e2fca27;p=thirdparty%2Fcoreutils.git whoops --- diff --git a/tests/du/deref b/tests/du/deref index efa0caab0e..0ff12ea931 100755 --- a/tests/du/deref +++ b/tests/du/deref @@ -16,9 +16,8 @@ framework_failure=0 mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 mkdir -p a/sub || framework_failure=1 +ln -s a/sub slink || framework_failure=1 touch b || framework_failure=1 -ln -s a/sub A || framework_failure=1 -ln -s b B || framework_failure=1 if test $framework_failure = 1; then echo "$0: failure in testing framework" 1>&2 @@ -28,7 +27,7 @@ fi fail=0 # This used to fail with the following diagnostic: -# du: `B': No such file or directory -du -sD A B > /dev/null 2>&1 || fail=1 +# du: `b': No such file or directory +du -sD slink b > /dev/null 2>&1 || fail=1 (exit $fail); exit $fail