summaryrefslogtreecommitdiff
path: root/tests/rm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm')
-rwxr-xr-xtests/rm/rm12
-rwxr-xr-xtests/rm/rm22
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/rm/rm1 b/tests/rm/rm1
index ce0d87150..f4f43d042 100755
--- a/tests/rm/rm1
+++ b/tests/rm/rm1
@@ -39,7 +39,7 @@ EOF
cmp out exp > /dev/null 2>&1 || {
cmp out exp2 || fail=1
}
-test $fail = 1 && diff out exp 2> /dev/null
+test $fail = 1 && compare out exp
test -d b/a/p || fail=1
test -d b/c && fail=1
diff --git a/tests/rm/rm2 b/tests/rm/rm2
index 0cd089291..6df1e2090 100755
--- a/tests/rm/rm2
+++ b/tests/rm/rm2
@@ -42,7 +42,7 @@ EOF
cmp out exp > /dev/null 2>&1 \
|| { cmp out exp-solaris > /dev/null 2>&1 || fail=1; }
-test $fail = 1 && diff out exp 2> /dev/null
+test $fail = 1 && compare out exp
test -d a/0 && fail=1
test -d a/1 || fail=1