[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash test: lastpipe.tests failed
From: |
Chet Ramey |
Subject: |
Re: bash test: lastpipe.tests failed |
Date: |
Wed, 10 Aug 2016 07:16:06 -0400 |
User-agent: |
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/