aboutsummaryrefslogtreecommitdiff
path: root/testsuite/cmp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/cmp')
-rw-r--r--testsuite/cmp/cmp-detects-difference6
1 files changed, 1 insertions, 5 deletions
diff --git a/testsuite/cmp/cmp-detects-difference b/testsuite/cmp/cmp-detects-difference
index b5544f9a8..aa0744487 100644
--- a/testsuite/cmp/cmp-detects-difference
+++ b/testsuite/cmp/cmp-detects-difference
@@ -1,7 +1,3 @@
echo foo >foo
echo bar >bar
-if busybox cmp -s foo bar; then
- return 1
-else
- return 0
-fi
+! busybox cmp -s foo bar