* cmp/cmp-detects-difference: Simplify return code negation.
authorMatt Kraai <kraai@debian.org>
Wed, 2 Jan 2002 20:45:42 +0000 (20:45 -0000)
committerMatt Kraai <kraai@debian.org>
Wed, 2 Jan 2002 20:45:42 +0000 (20:45 -0000)
* false/false-returns-failure: Likewise.
* tar/tar-demands-at-least-one-ctx: Likewise.
* tar/tar-demands-at-most-one-ctx: Likewise.

testsuite/cmp/cmp-detects-difference
testsuite/false/false-returns-failure
testsuite/tar/tar-demands-at-least-one-ctx
testsuite/tar/tar-demands-at-most-one-ctx

index b5544f9a831b2d76dedab2abffd01979901e8ab8..aa0744487ff2607ac5f7b7335bb4e211840f636e 100644 (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
index 30ee2997f240eab953d23f56d19c32c70aca92a4..1a061f2869592a0b178b63c664be52a4d546f49f 100644 (file)
@@ -1,5 +1 @@
-if busybox false; then
-       return 1
-else
-       return 0
-fi
+! busybox false
index 3ac58e89edf9ebeb2ab36aad96c61522417b4e95..85e7f605996cb03c93dbb83b4709ee1c26d6c4d8 100644 (file)
@@ -1,5 +1 @@
-if busybox tar v; then
-       return 1
-else
-       return 0
-fi
+! busybox tar v
index be2168135f3d4811e64a853b634f52f6ad25e7e2..130d0e7f918c266a12c97a321be77b29b8c19701 100644 (file)
@@ -1,5 +1 @@
-if busybox tar tx; then
-       return 1
-else
-       return 0
-fi
+! busybox tar tx