[PATCH] t0109: chain operations with &&
Jason A. Donenfeld
Jason at zx2c4.com
Wed Apr 10 14:16:44 CEST 2013
On Wed, Apr 10, 2013 at 2:11 PM, John Keeping <john at keeping.me.uk> wrote:
> Without '&&' between operations, we will not detect if strace or cgit
> exit with an error status, which would cause a false positive test
> status in this case.
I wonder if for some of the larger && chains in other tests "set -e"
would be a bit cleaner. I don't know if setting that inside the test
string will bubble the setting back up to the test harness (which
would be bad) or if it would be local for the test (which would be
ideal). Something to investigate.
More information about the CGit