diff options
-rwxr-xr-x | tests/rm/rm1 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/rm/rm1 b/tests/rm/rm1 index 1265242a4..8bcd6fd04 100755 --- a/tests/rm/rm1 +++ b/tests/rm/rm1 @@ -30,9 +30,8 @@ fail=0 # This should fail. rm -rf b > out 2>&1 && fail=1 -cat <<EOF > exp -rm: cannot remove \`b/a/p': Permission denied -rm: cannot remove directory \`b': Directory not empty +cat <<\EOF > exp +rm: cannot remove directory `b/a/p': Permission denied EOF cmp out exp || fail=1 |