[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {master} coverage: enhance tests in 'missing' script a little
From: |
Stefano Lattarini |
Subject: |
[FYI] {master} coverage: enhance tests in 'missing' script a little |
Date: |
Thu, 28 Jun 2012 11:09:50 +0200 |
* t/am-missing-prog.sh: Here, by also verifying its expected
exit status.
Signed-off-by: Stefano Lattarini <address@hidden>
---
t/am-missing-prog.sh | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/t/am-missing-prog.sh b/t/am-missing-prog.sh
index a3e0cac..00d8e37 100755
--- a/t/am-missing-prog.sh
+++ b/t/am-missing-prog.sh
@@ -51,13 +51,11 @@ o = address@hidden
e = address@hidden
debug_info = grep . address@hidden address@hidden
-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
--
1.7.9.5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {master} coverage: enhance tests in 'missing' script a little,
Stefano Lattarini <=