From: Jim Meyering Date: Sat, 4 Jan 2003 09:03:45 +0000 (+0000) Subject: Remove trailing /. from diagnostic. X-Git-Tag: v4.5.5~349 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c146a76b5da028de7a73f4f8096ab5a3e1597517;p=thirdparty%2Fcoreutils.git Remove trailing /. from diagnostic. --- diff --git a/tests/rm/rm2 b/tests/rm/rm2 index e2d83f6113..f9622e0d2d 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 730f88b552..e9be46e856 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