Thread (15 messages) 15 messages, 5 authors, 2016-06-15

Re: [PATCH 2/2] tests: make test_must_fail fail on missing commands

flat view

From: Jeff King <hidden>
Date: 2016-06-15 22:49:25

On Tue, Aug 31, 2010 at 12:26:57PM -0500, Jonathan Nieder wrote:
Jeff King wrote:
quoted
The point of it is to run a command that produces failure. A
missing command is more likely an error in the test script
Makes sense.  Here's the corresponding change for test_might_fail.
I think this is probably worth doing. Unless somebody is doing something
silly like:

  test_might_fail command_that_might_exist

But that seems a pretty contrived scenario (I am imagining something
like "call sync now, but if we don't have it, don't fail". But in the
test scripts that seems unlikely).

-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