mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
support: Report actual exit status in support_capture_subprocess_check
This commit is contained in:
parent
5b757a51b5
commit
5f17245d3e
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2017-06-30 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
[BZ #19570]
|
[BZ #19570]
|
||||||
|
@ -48,7 +48,7 @@ support_capture_subprocess_check (struct support_capture_subprocess *proc,
|
|||||||
{
|
{
|
||||||
print_context (context, &failed);
|
print_context (context, &failed);
|
||||||
printf ("error: expected exit status: %d\n", status);
|
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)
|
if (!(allowed & sc_allow_stdout) && proc->out.length != 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user