1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-21 06:42:02 +02:00

(rm): Change expected diagnostic, cannot open directory' to cannot remove',

to align with new version of rm.
This commit is contained in:
Jim Meyering
2005-11-22 15:08:09 +00:00
parent 901835b8bf
commit ad1df12ba2

View File

@@ -31,7 +31,7 @@ fail=0
# This should fail.
rm -rf a > out 2>&1 && fail=1
cat <<\EOF > exp
rm: cannot open directory `a': Permission denied
rm: cannot remove `a': Permission denied
EOF
cmp out exp || fail=1