diff options
author | Matt Kraai <kraai@debian.org> | 2002-01-02 20:45:42 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2002-01-02 20:45:42 +0000 |
commit | f3fbe20c35058e32cac59c1017150317d72ab672 (patch) | |
tree | 98e7d033a7c395d5b44f1c580206fd0e6481dbf1 /testsuite/cmp/cmp-detects-difference | |
parent | 01d2ea908b88a80b2f5d36c23229032dd76d621c (diff) | |
download | busybox-f3fbe20c35058e32cac59c1017150317d72ab672.tar.gz |
* cmp/cmp-detects-difference: Simplify return code negation.
* false/false-returns-failure: Likewise.
* tar/tar-demands-at-least-one-ctx: Likewise.
* tar/tar-demands-at-most-one-ctx: Likewise.
Diffstat (limited to 'testsuite/cmp/cmp-detects-difference')
-rw-r--r-- | testsuite/cmp/cmp-detects-difference | 6 |
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 |