summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/rm/rm22
-rwxr-xr-xtests/rm/unread22
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/rm/rm2 b/tests/rm/rm2
index e2d83f611..f9622e0d2 100755
--- a/tests/rm/rm2
+++ b/tests/rm/rm2
@@ -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
diff --git a/tests/rm/unread2 b/tests/rm/unread2
index 730f88b55..e9be46e85 100755
--- a/tests/rm/unread2
+++ b/tests/rm/unread2
@@ -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