summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/rm/r-16
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rm/r-1 b/tests/rm/r-1
index 896e44cee..2a0929e14 100755
--- a/tests/rm/r-1
+++ b/tests/rm/r-1
@@ -33,9 +33,9 @@ $tmp/a/a
$tmp/b
EOF
- # FIXME: use cmp
-diff -u $tmp/$test.E $tmp/$test.O || fail=1
+# Compare expected and actual output.
+cmp $tmp/$test.E $tmp/$test.O || fail=1
-#rm -rf $dir
+rm -rf $dir
exit $fail