public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH COMMITTED] support: Report actual exit status in support_capture_subprocess_check
@ 2017-06-30 10:38 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2017-06-30 10:38 UTC (permalink / raw)
  To: libc-alpha

2017-06-30  Florian Weimer  <fweimer@redhat.com>

	* support/support_capture_subprocess_check.c
	(support_capture_subprocess_check): Report actual exit status.

diff --git a/support/support_capture_subprocess_check.c b/support/support_capture_subprocess_check.c
index 708c89f..e1cf73b 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)
     {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-30 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-30 10:38 [PATCH COMMITTED] support: Report actual exit status in support_capture_subprocess_check Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).