2 # Create and remove a directory with more than 254 files.
3 # An early version of my rewritten rm failed to remove all of
4 # the files on SunOS4 when there were 254 or more in a directory.
10 if test "$VERBOSE" = yes; then
18 mkdir
$tmp || framework_fail
=1
23 echo "creating $n files in $tmp..."
25 > $tmp/$i || framework_fail
=1
30 test -f $tmp/$a || framework_fail
=1
31 test -f $tmp/$n || framework_fail
=1
33 if test $framework_fail = 1; then
34 echo 'failure in testing framework'
39 $RM -rf $tmp || fail
=1
40 test -d $tmp && fail
=1