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 | |
parent | 01d2ea908b88a80b2f5d36c23229032dd76d621c (diff) | |
download | busybox-w32-f3fbe20c35058e32cac59c1017150317d72ab672.tar.gz busybox-w32-f3fbe20c35058e32cac59c1017150317d72ab672.tar.bz2 busybox-w32-f3fbe20c35058e32cac59c1017150317d72ab672.zip |
* 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.
-rw-r--r-- | testsuite/cmp/cmp-detects-difference | 6 | ||||
-rw-r--r-- | testsuite/false/false-returns-failure | 6 | ||||
-rw-r--r-- | testsuite/tar/tar-demands-at-least-one-ctx | 6 | ||||
-rw-r--r-- | testsuite/tar/tar-demands-at-most-one-ctx | 6 |
4 files changed, 4 insertions, 20 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 @@ | |||
1 | echo foo >foo | 1 | echo foo >foo |
2 | echo bar >bar | 2 | echo bar >bar |
3 | if busybox cmp -s foo bar; then | 3 | ! busybox cmp -s foo bar |
4 | return 1 | ||
5 | else | ||
6 | return 0 | ||
7 | fi | ||
diff --git a/testsuite/false/false-returns-failure b/testsuite/false/false-returns-failure index 30ee2997f..1a061f286 100644 --- a/testsuite/false/false-returns-failure +++ b/testsuite/false/false-returns-failure | |||
@@ -1,5 +1 @@ | |||
1 | if busybox false; then | ! busybox false | |
2 | return 1 | ||
3 | else | ||
4 | return 0 | ||
5 | fi | ||
diff --git a/testsuite/tar/tar-demands-at-least-one-ctx b/testsuite/tar/tar-demands-at-least-one-ctx index 3ac58e89e..85e7f6059 100644 --- a/testsuite/tar/tar-demands-at-least-one-ctx +++ b/testsuite/tar/tar-demands-at-least-one-ctx | |||
@@ -1,5 +1 @@ | |||
1 | if busybox tar v; then | ! busybox tar v | |
2 | return 1 | ||
3 | else | ||
4 | return 0 | ||
5 | fi | ||
diff --git a/testsuite/tar/tar-demands-at-most-one-ctx b/testsuite/tar/tar-demands-at-most-one-ctx index be2168135..130d0e7f9 100644 --- a/testsuite/tar/tar-demands-at-most-one-ctx +++ b/testsuite/tar/tar-demands-at-most-one-ctx | |||
@@ -1,5 +1 @@ | |||
1 | if busybox tar tx; then | ! busybox tar tx | |
2 | return 1 | ||
3 | else | ||
4 | return 0 | ||
5 | fi | ||