* 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 <stefano.lattar...@gmail.com> --- t/missing3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/missing3.sh b/t/missing3.sh index 3a9ba01..27dcd12 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 -- 1.7.10.4