diff options
Diffstat (limited to 'tests/rm')
-rwxr-xr-x | tests/rm/empty-name | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rm/empty-name b/tests/rm/empty-name index 36058f4a4..e20a146af 100755 --- a/tests/rm/empty-name +++ b/tests/rm/empty-name @@ -1,4 +1,8 @@ #!/bin/sh +# Make sure that rm -r '' fails. +# On SunOS 4.1.3, running rm -r '' 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. : ${PERL=perl} : ${srcdir=.} |