diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-28 11:09:05 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-28 11:09:05 +0200 |
commit | 70b71392807b18e57217e9ed7975965866ae88bc (patch) | |
tree | 53de273117de69ddfb426d7bf33bf87f47414c13 | |
parent | 27478539b094a2b0bee4f8a452bec552edcabdbe (diff) | |
download | automake-70b71392807b18e57217e9ed7975965866ae88bc.tar.gz |
coverage: enhance tests in 'missing' script a little
* t/am-missing-prog.sh: Here, by also verifying its expected
exit status.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
-rwxr-xr-x | t/am-missing-prog.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/t/am-missing-prog.sh b/t/am-missing-prog.sh index a3e0caccb..00d8e373a 100755 --- a/t/am-missing-prog.sh +++ b/t/am-missing-prog.sh @@ -51,13 +51,11 @@ o = $@-stdout e = $@-stderr debug_info = grep . $@-stdout $@-stderr -status_is = $(debug_info); echo $@: st=$$st; : test $$st -eq +status_is = $(debug_info); echo $@: st=$$st; test $$st -eq w_mis = 'am-none-none' is needed, and is missing on your system w_old = 'am-exit-63' is needed, and is probably too old -# FIXME: make this test stricter w.r.t. the exit statuses once -# FIXME: we are merged to master! test1: st=0; $(NO_SUCH_COMMAND) >$o 2>$e || st=$$?; $(status_is) 127 grep "^WARNING: $(w_mis)" $e |