Test AS_ME_PREPARE.

* tests/m4sh.at (as_me): New test.
This commit is contained in:
Paolo Bonzini 2008-10-13 16:22:26 +02:00
parent 45f473304f
commit 50109ed5c2
2 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-10-13 Paolo Bonzini <bonzini@gnu.org>
Test AS_ME_PREPARE.
* tests/m4sh.at (as_me): New test.
2008-10-13 Paolo Bonzini <bonzini@gnu.org>
Add and document AS_INIT_GENERATED.

View File

@ -343,6 +343,27 @@ AT_CLEANUP
## ------- ##
## as_me. ##
## ------- ##
AT_SETUP([as_me])
AT_KEYWORDS([m4sh])
AT_DATA_M4SH([script.as],
[[AS_INIT
AS_ME_PREPARE
test "$as_me" = script || AS_ECHO([["incorrect value of \$as_me: $as_me"]])
]])
AT_CHECK_M4SH
AT_CHECK([./script])
AT_CLEANUP
## ----------------------------- ##
## Negated classes in globbing. ##
## ----------------------------- ##