summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/rm/r-34
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rm/r-3 b/tests/rm/r-3
index 387115948..b3d25a598 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