mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 18:22:25 +02:00
bash-4.4 alpha release
This commit is contained in:
+2
-3
@@ -29,10 +29,9 @@ read LINE <&${REFLECT[0]}
|
||||
|
||||
echo $LINE
|
||||
|
||||
exec 2>$TMPOUT # catch stray job termination messages
|
||||
kill $REFLECT_PID
|
||||
{ sleep 1; kill $REFLECT_PID; } &
|
||||
wait $REFLECT_PID >$TMPOUT 2>&1 || echo "coproc.tests: REFLECT: status $?"
|
||||
grep -q 'Terminated.*coproc.*REFLECT' < $TMPOUT || {
|
||||
grep 'Terminated.*coproc.*REFLECT' < $TMPOUT >/dev/null 2>&1 || {
|
||||
echo "coproc.tests: wait for REFLECT failed" >&2
|
||||
}
|
||||
rm -f $TMPOUT
|
||||
|
||||
@@ -100,5 +100,4 @@ trap -- 'echo caught a child death' SIGCHLD
|
||||
trap -- 'echo exiting' EXIT
|
||||
trap -- 'echo aborting' SIGABRT
|
||||
trap -- 'echo caught a child death' SIGCHLD
|
||||
trap -- '' SIGUSR2
|
||||
exiting
|
||||
|
||||
@@ -62,6 +62,7 @@ echo $?
|
||||
# hmmm...should this set the handling to SIG_IGN for children, too?
|
||||
trap '' USR2
|
||||
./trap1.sub
|
||||
trap - USR2
|
||||
|
||||
# test ERR trap
|
||||
./trap2.sub
|
||||
|
||||
Reference in New Issue
Block a user