Thread (41 messages) 41 messages, 6 authors, 2016-09-10

Re: [PATCH v4 1/3] tests: move test_lazy_prereq JGIT to test-lib.sh

From: Jeff King <hidden>
Date: 2016-09-10 06:00:22

On Sat, Sep 10, 2016 at 05:51:19AM +0000, Torsten Bögershausen wrote:
quoted
+test_lazy_prereq JGIT '
+	type jgit
+'
+
Minor note: 
Typically the stdout of `which` is suppressed like this:

if ! type cvs >/dev/null 2>&1
But we don't want to suppress the output here; the test harness
redirects the lazy_prereq output to /dev/null unless you specify "-v".
And there is no need for "if", because what we care about is the exit
code of the commands inside the lazy_prereq.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help