diff --git a/tests/rm/unread2 b/tests/rm/unread2 index b68f9ef4c..55c74ff69 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 remove `a': Permission denied EOF cmp out exp || fail=1