* 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:
parent
01d2ea908b
commit
f3fbe20c35
@ -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
|
|
||||||
|
@ -1,5 +1 @@
|
|||||||
if busybox false; then
|
! busybox false
|
||||||
return 1
|
|
||||||
else
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
@ -1,5 +1 @@
|
|||||||
if busybox tar v; then
|
! busybox tar v
|
||||||
return 1
|
|
||||||
else
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
@ -1,5 +1 @@
|
|||||||
if busybox tar tx; then
|
! busybox tar tx
|
||||||
return 1
|
|
||||||
else
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
Loading…
Reference in New Issue
Block a user