mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
tweak diagnostic to match actual output
This commit is contained in:
1 parent
1356245302
commit
0cecd156c6
1 file changed
+1
-1
+1
-1
@@ -31,7 +31,7 @@ fail=0
|
||||
# This must exit nonzero.
|
||||
chmod -R o=r d >/dev/null 2>out && fail=1
|
||||
cat <<\EOF > exp
|
||||
chmod: `d/no-x': Permission denied
|
||||
chmod: failed to get attributes of `d/no-x/y': Permission denied
|
||||
EOF
|
||||
|
||||
cmp out exp || fail=1
|
||||
|
||||
Reference in new issue
Block a user