1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-05 08:10:15 +02:00

*** empty log message ***

This commit is contained in:
Jim Meyering
1997-09-28 16:33:22 +00:00
parent de2517a1f4
commit 40dfaeed5c
+5 -1
View File
@@ -1,4 +1,8 @@
#!/bin/sh
# Make sure that rm -rf '' fails.
# On SunOS 4.1.3, running rm -rf '' in a nonempty directory may
# actually remove files with names of entries in the current directory
# but relative to `/' rather than relative to the current directory.
: ${RM=rm}
test=sunos-1
@@ -20,7 +24,7 @@ fi
fail=0
cd $tmp
$RM '' > /dev/null 2>&1 && fail=1
$RM -rf '' > /dev/null 2>&1 && fail=1
cd ..
rm -rf $tmp