diff options
Diffstat (limited to 'tests/rm')
-rwxr-xr-x | tests/rm/r-3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rm/r-3 b/tests/rm/r-3 index a5ee7036f..baba42d83 100755 --- a/tests/rm/r-3 +++ b/tests/rm/r-3 @@ -22,8 +22,8 @@ n=300 i=$a echo "creating $n files in $tmp..." while :; do - touch $tmp/$i || framework_fail=1 - test `expr $i = $n` = 1 && break + > $tmp/$i || framework_fail=1 + test $i = $n && break i=`expr $i + 1` done |