From: Stefano Lattarini Date: Mon, 23 Jul 2012 11:15:13 +0000 (+0200) Subject: tests: fix buglet in t/missing3.sh X-Git-Tag: v1.12b~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54a47b07f8385136ed85626093cdff94dc7124fd;p=thirdparty%2Fautomake.git tests: fix buglet in t/missing3.sh * t/missing3.sh: Be sure to use 'run_cmd' also in the first invocation of 'missing', to ensure the stderr will actually be saved in a file we can later grep. Signed-off-by: Stefano Lattarini --- diff --git a/t/missing3.sh b/t/missing3.sh index 3a9ba013f..27dcd121c 100755 --- a/t/missing3.sh +++ b/t/missing3.sh @@ -31,7 +31,7 @@ run_cmd () return $st } -./missing b7cb8259 --version && exit 1 +run_cmd ./missing b7cb8259 --version && exit 1 grep WARNING stderr && exit 1 run_cmd ./missing b7cb8259 --grep && exit 1 grep 'WARNING:.*missing on your system' stderr