Hello Bernhard, PƔdraig,
Attached an updated patch based on your comments and suggestions.
One difference from previous patch:
'seq' will not silently ignore EPIPE (if SIGPIPE is ignored by default), and
will exit with 'broken pipe' message.
I split the tests into two: one with /dev/full (skipped unless /dev/full
exists),
the other forcing a broken pipe (which can be tested anywhere).
comments welcomed,
thanks,
- assaf