From c146a76b5da028de7a73f4f8096ab5a3e1597517 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 4 Jan 2003 09:03:45 +0000 Subject: [PATCH] Remove trailing /. from diagnostic. --- tests/rm/rm2 | 2 +- tests/rm/unread2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/rm/rm2 b/tests/rm/rm2 index e2d83f6..f9622e0 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 < 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 730f88b..e9be46e 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 < exp -rm: cannot open directory \`a/.': Permission denied +rm: cannot open directory \`a': Permission denied EOF cmp out exp || fail=1 -- 2.7.4