aboutsummaryrefslogtreecommitdiffstats
path: root/test-test
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-04-06 07:44:02 +0200
committerMattias Andrée <maandree@member.fsf.org>2016-04-06 07:44:02 +0200
commit0bfc87c5903806b015534a3c4269fe82aa1ecf60 (patch)
tree850235d22954e7154f36a5f482629b1f21147ed7 /test-test
parentsmall improvements to test-test (diff)
downloadbase-util-tests-0bfc87c5903806b015534a3c4269fe82aa1ecf60.tar.gz
base-util-tests-0bfc87c5903806b015534a3c4269fe82aa1ecf60.tar.bz2
base-util-tests-0bfc87c5903806b015534a3c4269fe82aa1ecf60.tar.xz
whoops
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'test-test')
-rwxr-xr-xtest-test/test10
1 files changed, 5 insertions, 5 deletions
diff --git a/test-test/test b/test-test/test
index de47436..514f074 100755
--- a/test-test/test
+++ b/test-test/test
@@ -78,11 +78,11 @@ FAIL ()
bracket ()
{
- $t -e . \] 2> /dev/null &&
- test $? -eq 2 &&
- $b -e . \] &&
- $b -e . \] -e . 2> /dev/null &&
- test $? -eq 2
+ $t -e . \] 2> /dev/null
+ A=$?
+ $b -e . \] -e . 2> /dev/null
+ B=$?
+ $b -e . \] && test $A -eq 2 && test $B -eq 2
report $? "bracket"
}