Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
On 8/10/16 3:32 AM, dengke.du@windriver.com wrote:
> Hi all
>
> When I run the bash test lastpipe.tests, there were some errors occurred.
>
> The code in lastpipe.tests:
>
> shopt -s lastpipe
> ...
> exit 142 | false
> echo $? -- ${PIPESTATUS[@]}
>
> The error output:
>
> lastpipe.tests: line 41: 708 Exit 142 exit 142
> 703 Hangup | false
> 129 -- 142 129
I can't reproduce this. It looks system-specific; there shouldn't be
anything sending a SIGHUP to a simple command there.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/