tests: port to recent libtool diagnostics

Problem reported by Christian Fafard in:
http://lists.gnu.org/archive/html/bug-autoconf/2015-09/msg00009.html
* tests/foreign.at (libtool): Run the scripts in the C locale,
so that we need not worry about localized quotes in their output.
This commit is contained in:
Paul Eggert 2015-09-05 07:55:52 -07:00
parent 57ec362325
commit 244d3f9acb

View File

@ -49,10 +49,10 @@ AT_DATA([configure.ac],
AC_CONFIG_AUX_DIR([.])
AC_PROG_LIBTOOL
]])
AT_CHECK([libtoolize -i], [0], [stdout], [ignore])
AT_CHECK([LC_ALL=C libtoolize -i], [0], [stdout], [ignore])
# Some broken libtoolize fail to install a functional config.guess.
AT_CHECK([./config.guess || exit 77], [], [ignore], [ignore])
AT_CHECK([LC_ALL=C ./config.guess || exit 77], [], [ignore], [ignore])
# Make sure at-path contains something valid, and let the test suite
# display it when verbose. And fail, skipping would too easily hide