* 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 bar >bar
if busybox cmp -s foo bar; then
return 1
else
return 0
fi
! busybox cmp -s foo bar

View File

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

View File

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

View File

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