From 029057a361b40236bdfd3636473f64007717839c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 11 May 2006 07:29:53 +0000 Subject: Avoid harmless `ambiguous redirect' diagnostic. --- tests/du/long-sloop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/du') diff --git a/tests/du/long-sloop b/tests/du/long-sloop index b05678a05..2dee47be9 100755 --- a/tests/du/long-sloop +++ b/tests/du/long-sloop @@ -40,7 +40,7 @@ for i in $dir_list `expr $n + 1`; do esac i_minus_1=$i done -echo foo > $ip1 +echo foo > $i if test $framework_failure = 1; then echo "$0: failure in testing framework" 1>&2 @@ -69,7 +69,7 @@ too_many=`sed 's/.*: //' err` fail=0 # With coreutils-5.93 there was no failure. -# With coreutils-5.94 we get a diagnostic like this: +# With coreutils-5.94 we get the desired diagnostic: # du: cannot access `1/s/s/s/.../s': Too many levels of symbolic links du -L 1 > /dev/null 2> out1 && fail=1 sed "s, .1/s/s/s/[/s]*',," out1 > out || fail=1 -- cgit v1.2.3-54-g00ecf