Re: [TOY PATCH] test-lib: &&-chaining tester

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [TOY PATCH] test-lib: &&-chaining tester

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:49:43

Jonathan Nieder [off-list ref] writes:
Elijah Newren wrote:
quoted
This patch series fixes many of the missing &&s in the testsuite.
Thanks again.  Here's a little glimpse of a future without missing &&s
to play with.
Probably a silly question, but is there any reason why we use these &&
instead of a "set -e" once and for all?

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

Re: [TOY PATCH] test-lib: &&-chaining tester

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:49:43

Am 10/6/2010 10:09, schrieb Matthieu Moy:
Probably a silly question, but is there any reason why we use these &&
instead of a "set -e" once and for all?
Because different shells implement different behavior when "set -e" is in
effect and functions, && and || chains, and traps are in the game.

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