Re: bash test: lastpipe.tests failed

2016-08-15 Thread dengke...@windriver.com
Linux qemux86-64 4.4.14-yocto-standard #1 SMP PREEMPT Tue Aug 2 06:48:36 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux On 2016年08月12日 21:02, Chet Ramey wrote: On 8/12/16 4:14 AM, dengke...@windriver.com wrote: I used the strace tool to follow it. I touch a file named lastpipe just contain: sh

Re: bash test: lastpipe.tests failed

2016-08-12 Thread dengke...@windriver.com
| false ) = 43 read(255, "", 35) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 exit_group(129) = ? +++ exited with 129 +++ On 2016年08月10日 19:16, Chet

Re: bash test: lastpipe.tests failed

2016-08-12 Thread dengke...@windriver.com
But when I run the test line by line, it's OK. I used the version of bash is 4.3.30 on master branch, run the test on the qemux86-64. On 2016年08月10日 19:16, Chet Ramey wrote: On 8/10/16 3:32 AM, dengke...@windriver.com wrote: Hi all When I run the bash test lastpipe.tests, there were

Re: bash: remove the format string "%q" in the unicode3.sub

2016-08-11 Thread dengke...@windriver.com
:42 AM, dengke...@windriver.com wrote: Hi chet Thanks for you help. 1. This file: http://git.savannah.gnu.org/cgit/bash.git/tree/tests/unicode3.sub?h=devel&id=74b8cbb41398b4453d8ba04d0cdd1b25f9dcb9e3 When executed to the 3 line: "$payload" On my target the output was:

bash test: lastpipe.tests failed

2016-08-10 Thread dengke...@windriver.com
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 142exit 142 703 Hangup

Re: bash: remove the format string "%q" in the unicode3.sub

2016-08-09 Thread dengke...@windriver.com
"$payload" in intl.right is fine for me. //dengke On 2016年08月09日 22:39, Chet Ramey wrote: On 8/9/16 3:18 AM, dengke...@windriver.com wrote: Hi all When I run the tests for the bash, the sub-test unicode3.sub of intl.tests failed. The sub-test unicode3.sub contain the following:

bash: remove the format string "%q" in the unicode3.sub

2016-08-09 Thread dengke...@windriver.com
Hi all When I run the tests for the bash, the sub-test unicode3.sub of intl.tests failed. The sub-test unicode3.sub contain the following: payload=$'\065\247\100\063\231\053\306\123\070\237\242\352\263' "$payload" printf %q "$payload" In this situation, the format string "%q" in