* tests/yacc-cxx.test: Some versions of the BSD shell wrongly bail
out when the 'errexit' shell flag is active if the left-hand
command in a "&&" list fails and such list is the *last* command
of a "for" or "while" loop or of an "if" construct. Work around
this issue.
* tests/check12.test: Likewise.
test -f test-suite.log
test -f a.log
test -f b.log
- else
- :
- fi
+ else :; fi
grep 'check-local succeeded :-)' local.log
cp -f config.status config-status.sav
grep '^FAIL: b$' test-suite.log
grep '^b\.test: exit status: 1$' test-suite.log
grep '^a\.test' test-suite.log && Exit 1
+ : For shells with busted 'set -e'.
else :; fi
CHECKLOCAL_EXIT_STATUS=1 $MAKE check && Exit 1
for i in 1 2 3 4; do
echo a | ./foo$i
echo b | ./foo$i && Exit 1
+ : For shells with busted 'set -e'.
done
# The Yacc-derived C++ sources must be shipped.