mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-27 01:49:56 +08:00
Fix a couple of test failures with dash.
* tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Normalize exit status of `cd'. * tests/m4sh.at (AS_MESSAGE_LOG_FD): Remove script before regeneration, to avoid timing effects. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
580ada8c2e
commit
36ee23e298
@ -1,3 +1,11 @@
|
||||
2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Fix a couple of test failures with dash.
|
||||
* tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Normalize
|
||||
exit status of `cd'.
|
||||
* tests/m4sh.at (AS_MESSAGE_LOG_FD): Remove script before
|
||||
regeneration, to avoid timing effects.
|
||||
|
||||
2008-11-25 Eric Blake <ebb9@byu.net>
|
||||
|
||||
Add m4_cleardivert.
|
||||
|
@ -616,9 +616,9 @@ AT_CHECK([$CONFIG_SHELL ./micro-suite --clean --directory="`pwd`/sub2"])
|
||||
AT_CHECK([test -f sub2/micro-suite.log], [1])
|
||||
AT_CHECK([test -f sub2/micro-suite.dir], [1])
|
||||
dnl check for failure detection with bad, missing, or empty directory.
|
||||
AT_CHECK([$CONFIG_SHELL ./micro-suite -C nonesuch], [1], [ignore], [ignore])
|
||||
AT_CHECK([$CONFIG_SHELL ./micro-suite -C nonesuch || exit 1], [1], [ignore], [ignore])
|
||||
AT_CHECK([$CONFIG_SHELL ./micro-suite -C ''], [1], [ignore], [ignore])
|
||||
AT_CHECK([$CONFIG_SHELL ./micro-suite -C -], [1], [ignore], [ignore])
|
||||
AT_CHECK([$CONFIG_SHELL ./micro-suite -C - || exit 1], [1], [ignore], [ignore])
|
||||
AT_CHECK([$CONFIG_SHELL ./micro-suite -C], [1], [ignore], [ignore])
|
||||
dnl check that --help overrides bad directory selection.
|
||||
AT_CHECK([$CONFIG_SHELL ./micro-suite -C nonesuch --help], [0], [ignore], [])
|
||||
|
@ -1308,6 +1308,7 @@ exec AS_MESSAGE_LOG_FD>-
|
||||
./$child
|
||||
]])
|
||||
|
||||
rm -f script
|
||||
AT_CHECK_M4SH
|
||||
AT_CHECK([./script], [0], [[script: hello from parent
|
||||
hello1 from child
|
||||
|
Loading…
Reference in New Issue
Block a user