From: Jim Meyering Date: Thu, 12 Jan 2006 14:45:15 +0000 (+0000) Subject: Create final file *after* the loop. X-Git-Tag: v6.0~880 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d56050cc6fe1b4709dd36596ba27a4b428016979;p=thirdparty%2Fcoreutils.git Create final file *after* the loop. --- diff --git a/tests/du/long-sloop b/tests/du/long-sloop index a371123877..16c4c37ac3 100755 --- a/tests/du/long-sloop +++ b/tests/du/long-sloop @@ -32,8 +32,8 @@ mkdir $dir_list || framework_failure=1 for i in $dir_list; do ip1=`expr $i + 1` ln -s ../$ip1 $i/s || framework_failure=1 - test -d $ip1 || echo foo > $ip1 done +echo foo > $ip1 if test $framework_failure = 1; then echo "$0: failure in testing framework" 1>&2