From: Stefano Lattarini Date: Sat, 27 Oct 2012 16:19:23 +0000 (+0200) Subject: tests: fix buglets and weaknesses in a test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90a874d77ae0143df410f18053b94c0416f6543d;p=thirdparty%2Fautomake.git tests: fix buglets and weaknesses in a test * t/nostdinc.sh: Here. Signed-off-by: Stefano Lattarini --- diff --git a/t/nostdinc.sh b/t/nostdinc.sh index 8ebb4e8ff..3f98fb346 100755 --- a/t/nostdinc.sh +++ b/t/nostdinc.sh @@ -51,8 +51,8 @@ $AUTOMAKE --add-missing mkdir build cd build ../configure -$MAKE V=1 > output || { cat output; exit 1; } -cat output +$MAKE V=1 > stdout || { cat stdout; exit 1; } +cat stdout grep '.*-I *\.' stdout && exit 1 $MAKE clean # Shouldn't be picked up from builddir either. @@ -62,8 +62,8 @@ cd .. # Test with $builddir = $srcdir ./configure -$MAKE V=1 > output || { cat output; exit 1; } -cat output -grep '.*-I *\.' output && exit 1 +$MAKE V=1 > stdout || { cat stdout; exit 1; } +cat stdout +grep '.*-I *\.' stdout && exit 1 :