]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Test AS_ME_PREPARE.
authorPaolo Bonzini <bonzini@gnu.org>
Mon, 13 Oct 2008 14:22:26 +0000 (16:22 +0200)
committerPaolo Bonzini <bonzini@gnu.org>
Mon, 13 Oct 2008 16:03:37 +0000 (18:03 +0200)
* tests/m4sh.at (as_me): New test.

ChangeLog
tests/m4sh.at

index bd108add7527d8e62d8bcb6b3fdc1f44a2b4daf2..e51c8e70e92a49b443d1fe8d557c8b5af448fbc6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 169209807059d5fba339113b56aa94558594f771..66b839f8d3ef4471dfc2c09e69856e0d32f73fd0 100644 (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.  ##
 ## ----------------------------- ##