[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] tests: fix buglet in t/missing3.sh
From: |
Stefano Lattarini |
Subject: |
[FYI] tests: fix buglet in t/missing3.sh |
Date: |
Mon, 23 Jul 2012 13:16:44 +0200 |
* 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 <address@hidden>
---
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] tests: fix buglet in t/missing3.sh,
Stefano Lattarini <=