From: Stefano Lattarini Date: Sat, 12 Jan 2013 13:46:51 +0000 (+0100) Subject: tests: subobj-libtool.sh: fix post-merge spurious failure X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fe826bd5d1fafdcfff2b4feb5656f7fa0941cb4;p=thirdparty%2Fautomake.git tests: subobj-libtool.sh: fix post-merge spurious failure * t/subobj-libtool.sh: Remove the 'compile' script automatically brought in by 'test-init.sh', so that we can ensure "automake --add-missing" correctly installs it. While at it, make grepping of automake output slightly stricter. Signed-off-by: Stefano Lattarini --- diff --git a/t/subobj-libtool.sh b/t/subobj-libtool.sh index ab842342a..f0284d568 100755 --- a/t/subobj-libtool.sh +++ b/t/subobj-libtool.sh @@ -55,11 +55,11 @@ echo 'int three (void) { return 3; }' > sub/subsub/3.c libtoolize $ACLOCAL +# Make sure compile is installed, and that Automake says so. +rm -f compile $AUTOMAKE --add-missing 2>stderr || { cat stderr >&2; exit 1; } cat stderr >&2 - -# Make sure compile is installed, and that Automake says so. -grep 'install.*compile' stderr +grep '^configure\.ac:4:.*install.*compile' stderr test -f compile grep '[^/][123]\.lo' Makefile.in && exit 1