mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-05 08:10:15 +02:00
Remove trailing /. from diagnostic.
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ fail=0
|
||||
# Both of these should fail.
|
||||
rm -rf a b > out 2>&1 && fail=1
|
||||
cat <<EOF > exp
|
||||
rm: cannot chdir from \`a/.' to \`1': Permission denied
|
||||
rm: cannot chdir from \`a' to \`1': Permission denied
|
||||
rm: cannot chdir from \`.' to \`b': Permission denied
|
||||
EOF
|
||||
|
||||
|
||||
+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 open directory \`a': Permission denied
|
||||
EOF
|
||||
|
||||
cmp out exp || fail=1
|
||||
|
||||
Reference in New Issue
Block a user