mirror of
https://github.com/coreutils/coreutils.git
synced 2025-01-19 14:33:22 +08:00
Create final file *after* the loop.
This commit is contained in:
parent
2a8499e09f
commit
d56050cc6f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user