|
From: | Bernhard Voelker |
Subject: | Re: [PATCH] tests: add extra protection against unexpected exits |
Date: | Wed, 14 Jan 2015 14:16:55 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
On 01/14/2015 01:08 PM, Pádraig Brady wrote:
On 14/01/15 09:24, Bernhard Voelker wrote:On 01/14/2015 02:51 AM, Pádraig Brady wrote:-split -99999999999999999991 2> out && fail=1 +split -99999999999999999991 2> outalthough the content of out is checked here, it wouldn't hurt to assert $? = 1.Same point about about checking stderr independently.
Correct, but additionally to the stderr message split(1) is mandated to exit(1) ... which we don't check anymore. Same for the other test. Thanks & have a nice day, Berny
[Prev in Thread] | Current Thread | [Next in Thread] |