login
Header Space

 
 

Re: [PATCH] Use exit 1 instead of die when req_Root fails.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Brian Gernhardt <benji@...>
Cc: Morten Welinder <mwelinder@...>, <git@...>, <spearce@...>
Date: Wednesday, October 17, 2007 - 3:27 pm

On 10/17/07, Brian Gernhardt <benji@silverinsanity.com> wrote:

My point exactly ;-)

If the test is changed to use 'test_expect_success' in the same way as
'req_Root failure (relative pathname)' does it, the test no longer
depends on the exact exit-code returned by die().

IMHO this is much better future-proofing than replacing die() with
print()/exit 1 whenever one of these tests fails.

--
larsh
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Use exit 1 instead of die when req_Root fails., Brian Gernhardt, (Wed Oct 17, 10:05 am)
Re: [PATCH] Use exit 1 instead of die when req_Root fails., Frank Lichtenheld, (Wed Oct 17, 3:06 pm)
Re: [PATCH] Use exit 1 instead of die when req_Root fails., Brian Gernhardt, (Wed Oct 17, 3:15 pm)
Re: [PATCH] Use exit 1 instead of die when req_Root fails., Shawn O. Pearce, (Thu Oct 18, 1:04 am)
Re: [PATCH] Use exit 1 instead of die when req_Root fails., Frank Lichtenheld, (Thu Oct 18, 9:33 am)
Re: [PATCH] Use exit 1 instead of die when req_Root fails., Morten Welinder, (Wed Oct 17, 10:39 am)
Re: [PATCH] Use exit 1 instead of die when req_Root fails., Frank Lichtenheld, (Wed Oct 17, 3:08 pm)
Re: [PATCH] Use exit 1 instead of die when req_Root fails., Brian Gernhardt, (Wed Oct 17, 11:16 am)
Re: [PATCH] Use exit 1 instead of die when req_Root fails., Brian Gernhardt, (Wed Oct 17, 2:40 pm)
Re: [PATCH] Use exit 1 instead of die when req_Root fails., Lars Hjemli, (Wed Oct 17, 3:27 pm)
speck-geostationary