* 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.
This commit is contained in:
Matt Kraai 2002-01-02 20:45:42 +00:00
parent 01d2ea908b
commit f3fbe20c35
4 changed files with 4 additions and 20 deletions

View File

@ -1,7 +1,3 @@
echo foo >foo echo foo >foo
echo bar >bar echo bar >bar
if busybox cmp -s foo bar; then ! busybox cmp -s foo bar
return 1
else
return 0
fi

View File

@ -1,5 +1 @@
if busybox false; then ! busybox false
return 1
else
return 0
fi

View File

@ -1,5 +1 @@
if busybox tar v; then ! busybox tar v
return 1
else
return 0
fi

View File

@ -1,5 +1 @@
if busybox tar tx; then ! busybox tar tx
return 1
else
return 0
fi