diff options
author | Akim Demaille <akim@epita.fr> | 2002-10-28 09:31:48 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2002-10-28 09:31:48 +0000 |
commit | 4ef2d2d6d66833a17ebfeb23c3844cfe25dae217 (patch) | |
tree | 09c20060670bee32be61fd585c303105904b4861 /tests/foreign.at | |
parent | 97c74714d5303d7722d39199d7708162b8f672c0 (diff) | |
download | autoconf-4ef2d2d6d66833a17ebfeb23c3844cfe25dae217.tar.gz |
Fix robustness to libtoolize.AUTOCONF-2.54b
Diffstat (limited to 'tests/foreign.at')
-rw-r--r-- | tests/foreign.at | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/foreign.at b/tests/foreign.at index 419c175c..9817c596 100644 --- a/tests/foreign.at +++ b/tests/foreign.at @@ -49,7 +49,16 @@ AT_DATA([configure.in], AC_CONFIG_AUX_DIR(.) AC_PROG_LIBTOOL ]]) -AT_CHECK([libtoolize || exit 77], 0, [ignore], [ignore]) +AT_CHECK([libtoolize], 0, [stdout], ignore) + +# Some broken libtoolize fail to install a functional config.guess. +AT_CHECK([./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 +# problems. +AT_CHECK([sed -n ["s,^.*\`\(/[^']*\)'.*,\1,p"] stdout], 0, [stdout]) +AT_CHECK([test -f "`cat stdout`"]) # libtoolize installed everything but install-sh... touch install-sh |