From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Wed, 10 Apr 2013 14:16:44 +0200 Subject: [PATCH] t0109: chain operations with && In-Reply-To: <045351fda5a2531f775794184c1a93d931ea71df.1365595917.git.john@keeping.me.uk> References: <045351fda5a2531f775794184c1a93d931ea71df.1365595917.git.john@keeping.me.uk> Message-ID: On Wed, Apr 10, 2013 at 2:11 PM, John Keeping 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.