+2010-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ tests: avoid AC_CACHE_CHECK test failure with dash.
+ * tests/base.at (AC_CACHE_CHECK): Normalize configure exit
+ status in presence of syntax error in sourced site file.
+ Do not error out if configure is aborted at this point.
+ Fixes testsuite failure with dash 0.5.5.1.
+
2010-10-08 Eric Blake <eblake@redhat.com>
AS_LITERAL_IF: Treat raw = as literal again.
[[fi
]])
CONFIG_SITE=$PWD/bad.site
-AT_CHECK_CONFIGURE([], [1], [ignore], [stderr])
-AT_CHECK([grep 'failed to load site script' stderr], [], [ignore])
+AT_CHECK_CONFIGURE([ || exit 1], [1], [stdout], [stderr])
+AT_CHECK([grep 'failed to load site script' stderr], [], [ignore], [ignore],
+ [AT_CHECK([grep 'whether true' stdout], [1])])
# However, a missing file is ignored.
CONFIG_SITE=./no-such-file