[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PATCH: fix 'which' test
From: |
Ben Elliston |
Subject: |
PATCH: fix 'which' test |
Date: |
Tue, 4 Dec 2018 23:07:53 +1100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
A test case of mine from 2016 has an embarassing bug. I can't blame
Rob for this one. :-) Here's the fix:
2018-12-04 Ben Elliston <address@hidden>
* testsuite/runtest.all/utils.test (which): Fail on the else path,
don't pass in either case.
--- a/testsuite/runtest.all/utils.test
+++ b/testsuite/runtest.all/utils.test
@@ -145,9 +145,23 @@ if {[which [file join $objdir config.status]] != 0} {
if {[which make] != 0} {
pass "which, make"
} else {
- pass "which, make"
+ fail "which, make"
Ben
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- PATCH: fix 'which' test,
Ben Elliston <=