* 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 bar >bar
|
||||
if busybox cmp -s foo bar; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
! busybox cmp -s foo bar
|
||||
|
@ -1,5 +1 @@
|
||||
if busybox false; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
! busybox false
|
||||
|
@ -1,5 +1 @@
|
||||
if busybox tar v; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
! busybox tar v
|
||||
|
@ -1,5 +1 @@
|
||||
if busybox tar tx; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
! busybox tar tx
|
||||
|
Loading…
Reference in New Issue
Block a user