From fe924b270ce2b62ef0dc6ea3514f9d9679a09bdc Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 10 Aug 2015 13:55:25 +0100 Subject: 36045: make effect of failures in wait test clearer --- ChangeLog | 3 +++ Test/A05execution.ztst | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4153f6a86..1f8c732e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-08-10 Peter Stephenson + * 36045: Test/A05execution.ztst: make effect of failures + in wait test cleare. + * not quite posted: Src/Modules/socket.c, Src/Modules/tcp.c: check for error return before testing for EINTR. diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst index cc2d34d23..d5501bb33 100644 --- a/Test/A05execution.ztst +++ b/Test/A05execution.ztst @@ -266,9 +266,11 @@ F:anonymous function, and a descriptor leak when backgrounding a pipeline wait $two print $? wait $one -1:The status of recently exited background jobs is recorded + print $? +0:The status of recently exited background jobs is recorded >3 >2 +>1 # Regression test for workers/34060 (patch in 34065) setopt ERR_EXIT NULL_GLOB -- cgit 1.4.1