From 90a874d77ae0143df410f18053b94c0416f6543d Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 27 Oct 2012 18:19:23 +0200 Subject: [PATCH] tests: fix buglets and weaknesses in a test * t/nostdinc.sh: Here. Signed-off-by: Stefano Lattarini --- t/nostdinc.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 : -- 2.47.2