summaryrefslogtreecommitdiffhomepage
path: root/testsuite/tar
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2002-01-02 20:45:42 +0000
committerMatt Kraai <kraai@debian.org>2002-01-02 20:45:42 +0000
commitf3fbe20c35058e32cac59c1017150317d72ab672 (patch)
tree98e7d033a7c395d5b44f1c580206fd0e6481dbf1 /testsuite/tar
parent01d2ea908b88a80b2f5d36c23229032dd76d621c (diff)
* 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.
Diffstat (limited to 'testsuite/tar')
-rw-r--r--testsuite/tar/tar-demands-at-least-one-ctx6
-rw-r--r--testsuite/tar/tar-demands-at-most-one-ctx6
2 files changed, 2 insertions, 10 deletions
diff --git a/testsuite/tar/tar-demands-at-least-one-ctx b/testsuite/tar/tar-demands-at-least-one-ctx
index 3ac58e89e..85e7f6059 100644
--- a/testsuite/tar/tar-demands-at-least-one-ctx
+++ b/testsuite/tar/tar-demands-at-least-one-ctx
@@ -1,5 +1 @@
-if busybox tar v; then
- return 1
-else
- return 0
-fi
+! busybox tar v
diff --git a/testsuite/tar/tar-demands-at-most-one-ctx b/testsuite/tar/tar-demands-at-most-one-ctx
index be2168135..130d0e7f9 100644
--- a/testsuite/tar/tar-demands-at-most-one-ctx
+++ b/testsuite/tar/tar-demands-at-most-one-ctx
@@ -1,5 +1 @@
-if busybox tar tx; then
- return 1
-else
- return 0
-fi
+! busybox tar tx