mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(rm): Change expected diagnostic, cannot open directory' to cannot remove',
to align with new version of rm.
This commit is contained in:
1 parent
901835b8bf
commit
ad1df12ba2
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user