diff --git a/tests/rm/unread2 b/tests/rm/unread2 index f7acf05db..b68f9ef4c 100755 --- a/tests/rm/unread2 +++ b/tests/rm/unread2 @@ -30,8 +30,8 @@ fail=0 # This should fail. rm -rf a > out 2>&1 && fail=1 -cat < exp -rm: cannot open directory \`a': Permission denied +cat <<\EOF > exp +rm: cannot open directory `a': Permission denied EOF cmp out exp || fail=1