diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-06-30 11:30:48 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-06-30 11:30:48 +0200 |
commit | 5f17245d3e30ce9510a4061cf2a277cd8f6a815f (patch) | |
tree | a8b5de0cec32601a174eaeb698b8d10f6d907a08 | |
parent | 5b757a51b514ea163bbec0a53dbbc06bb1b29241 (diff) | |
download | glibc-5f17245d3e30ce9510a4061cf2a277cd8f6a815f.tar.gz glibc-5f17245d3e30ce9510a4061cf2a277cd8f6a815f.tar.xz glibc-5f17245d3e30ce9510a4061cf2a277cd8f6a815f.zip |
support: Report actual exit status in support_capture_subprocess_check
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | support/support_capture_subprocess_check.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 108f8cd2cf..b340c7ff9d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2017-06-30 Florian Weimer <fweimer@redhat.com> + * support/support_capture_subprocess_check.c + (support_capture_subprocess_check): Report actual exit status. + +2017-06-30 Florian Weimer <fweimer@redhat.com> + [BZ #19570] * resolv/res_send.c (nameserver_offset): New function. (__libc_res_nsend): Use it to implement RES_ROTATE. diff --git a/support/support_capture_subprocess_check.c b/support/support_capture_subprocess_check.c index 708c89f331..e1cf73b6a5 100644 --- a/support/support_capture_subprocess_check.c +++ b/support/support_capture_subprocess_check.c @@ -48,7 +48,7 @@ support_capture_subprocess_check (struct support_capture_subprocess *proc, { print_context (context, &failed); printf ("error: expected exit status: %d\n", status); - printf ("error: actual exit status: %d\n", status); + printf ("error: actual exit status: %d\n", proc->status); } if (!(allowed & sc_allow_stdout) && proc->out.length != 0) { |