From: Stefano Lattarini Date: Wed, 29 May 2013 09:31:25 +0000 (+0200) Subject: tests: avoid a spurious failure when $CC != cc X-Git-Tag: v1.16~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a57be384d484aef09de08038769985f32935f2f;p=thirdparty%2Fautomake.git tests: avoid a spurious failure when $CC != cc Fixes automake bug#14500. * t/subpkg.sh: Improve the grepping of configure output. Signed-off-by: Stefano Lattarini --- diff --git a/t/subpkg.sh b/t/subpkg.sh index 1223b13a0..f15294331 100644 --- a/t/subpkg.sh +++ b/t/subpkg.sh @@ -104,7 +104,7 @@ cd .. ./configure >stdout || { cat stdout; exit 1; } cat stdout -grep '^checking whether cc understands -c and -o together' stdout +$FGREP "checking whether $CC understands -c and -o together" stdout $MAKE $MAKE distcheck