summaryrefslogtreecommitdiff
path: root/tests/rm/r-3
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-10-17 19:05:07 +0000
committerJim Meyering <jim@meyering.net>1997-10-17 19:05:07 +0000
commit72ab8e314ce22dd1f50c14e44f6d1617acab8b94 (patch)
treedf76e8648c783be619bfd565bef95dd15c236982 /tests/rm/r-3
parentd255fdbe9cfc383356c6a3c57b6df2a14b1725fa (diff)
downloadcoreutils-72ab8e314ce22dd1f50c14e44f6d1617acab8b94.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/rm/r-3')
-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