summaryrefslogtreecommitdiff
path: root/testsuite/cmp/cmp-detects-difference
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/cmp/cmp-detects-difference')
-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 b5544f9..aa07444 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