From 54a47b07f8385136ed85626093cdff94dc7124fd Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Mon, 23 Jul 2012 13:15:13 +0200 Subject: 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 --- t/missing3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/missing3.sh') 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 -- cgit v1.2.1