summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-04 09:03:45 +0000
committerJim Meyering <jim@meyering.net>2003-01-04 09:03:45 +0000
commitc146a76b5da028de7a73f4f8096ab5a3e1597517 (patch)
tree4bbb06a27a0c92361ad9ee3d1b1e73d3c30b51dc /tests
parent874f367c0a5c0d75dbfa43685d0dadcb3075dce8 (diff)
downloadcoreutils-c146a76b5da028de7a73f4f8096ab5a3e1597517.tar.xz
Remove trailing /. from diagnostic.
Diffstat (limited to 'tests')
-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