tests: fix bug in alloca*.test
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 5 Mar 2011 00:57:36 +0000 (01:57 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 5 Mar 2011 00:57:36 +0000 (01:57 +0100)
commit68694a871f05fcb33a3efb6aada7c084365ca272
tree5d518d7456f1c30c24e2705d34507d57f3b28af8
parentef95da1f6a426e26b5f6b3c219ec4d27f982ffc5
tests: fix bug in alloca*.test

* tests/alloca.test: Make grepping of automake stderr stricter,
add a trailing `:' command; also, add AC_PROG_CC to configure.in,
and create a dummy alloca.c file, to ensure that we fail for the
proper reason.
* tests/alloca2.test: Likewise.  Also, look for LT_INIT, not
AC_PROG_LIBTOOL, in the error message (bug introduced with commit
v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
primary is used").

From a report by Patrick Welche.
ChangeLog
tests/alloca.test
tests/alloca2.test