]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
tests: avoid spurious test failure with libtool 2.4.3
authorGary V. Vaughan <gary@gnu.org>
Mon, 3 Nov 2014 06:25:03 +0000 (07:25 +0100)
committerEric Blake <eblake@redhat.com>
Mon, 3 Nov 2014 06:25:03 +0000 (07:25 +0100)
Based on a report by Bruce Dubbs.

* tests/foreign.at (Libtool): Be tolerant of 'quote' replacing the
older `quote'.

Signed-off-by: Eric Blake <eblake@redhat.com>
tests/foreign.at

index a9dc33c51355eda1d8972187847a680132cb42a2..d4702cdfec8ddad68aa8f257919e8ab526db5915 100644 (file)
@@ -57,7 +57,7 @@ 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([sed -n ["s,^[^']*[\`']\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout])
 AT_CHECK([test -f "`sed -n 1p stdout`"])
 
 # Older libtoolize installed everything but install-sh...