From: Jim Meyering Date: Fri, 17 Oct 1997 19:05:07 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: TEXTUTILS-1_22c~233 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72ab8e314ce22dd1f50c14e44f6d1617acab8b94;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/tests/rm/r-3 b/tests/rm/r-3 index 387115948b..b3d25a598a 100755 --- a/tests/rm/r-3 +++ b/tests/rm/r-3 @@ -1,4 +1,7 @@ #!/bin/sh +# Create and remove a directory with more than 254 files. +# An early version of my rewritten rm failed to remove all of +# the files on SunOS4 when there were 254 or more in a directory. : ${RM=rm} @@ -31,6 +34,7 @@ if test $framework_fail = 1; then exit 1 fi +fail=0 $RM -rf $tmp || fail=1 test -d $tmp && fail=1