Fix some testsuite failures introduced two days ago.

* tests/m4sh.at (Nested AS@&t@_REQUIRE_SHELL_FN)
(AS@&t@_REQUIRE_SHELL_FN and m4@&t@_require): Adjust to changed
API.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
Eric Blake 2008-10-18 06:48:55 -06:00
parent 61b66d572b
commit 773837cec3
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,11 @@
2008-10-18 Eric Blake <ebb9@byu.net>
Fix some testsuite failures introduced two days ago.
* tests/m4sh.at (Nested AS@&t@_REQUIRE_SHELL_FN)
(AS@&t@_REQUIRE_SHELL_FN and m4@&t@_require): Adjust to changed
API.
Reported by Ralf Wildenhues.
2008-10-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Show how to extract single substitutions from config.status.

View File

@ -522,11 +522,11 @@ m4_defun([TEST_FUNC2_BODY], [
])
m4_defun([TEST_FUNC1_BODY], [
AS_REQUIRE_SHELL_FN([test_func2], [TEST_FUNC2_BODY])
AS_REQUIRE_SHELL_FN([test_func2], [], [TEST_FUNC2_BODY])
:
])
AS_REQUIRE_SHELL_FN([test_func1], [TEST_FUNC1_BODY])
AS_REQUIRE_SHELL_FN([test_func1], [], [TEST_FUNC1_BODY])
test_func2
]])
@ -566,7 +566,7 @@ m4_require([error_if_emitted_in_m4sh_init])
m4_defun([test_init], [
AS_REQUIRE([in_m4_sh_init], , [M4SH-INIT-FN])
AS_REQUIRE_SHELL_FN([test_func], [TEST_FUNC_BODY])
AS_REQUIRE_SHELL_FN([test_func], [], [TEST_FUNC_BODY])
AS_REQUIRE([not_in_m4_sh_init])
])