On 28/04/16 14:41, Assaf Gordon wrote:
Hello,
On Tue, Apr 26, 2016 at 5:32 AM, Pádraig Brady <[email protected]> wrote:
The subject should start with "tests:". Something like:
tests: improve recent seq EPIPE test
Updated patch attached.
Note SIGPIPE may not be supported, so I'd also suggest a guard like:
(trap '' PIPE && yes | :) 2>&1 | grep -qF 'Broken pipe' ||
skip_ 'trapping SIGPIPE is not supported'
cheers,
Pádraig.
p.s. For my own reference, programs that fail on EPIPE preclude
themselves for use with 'pipefail' setting in bash for example.
Though changing only coreutils to fail on EPIPE would be inconsistent.