]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
support: Report actual exit status in support_capture_subprocess_check
authorFlorian Weimer <fweimer@redhat.com>
Fri, 30 Jun 2017 09:30:48 +0000 (11:30 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 30 Jun 2017 09:30:48 +0000 (11:30 +0200)
ChangeLog
support/support_capture_subprocess_check.c

index 108f8cd2cff033534f12c67c793d3f16dc467f59..b340c7ff9d88ce8e011733f949add25c162e0541 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        [BZ #19570]
index 708c89f33132fa2daf59614876b9a25285800bbc..e1cf73b6a578156d8eec2fdddf1c685dd10bd8ec 100644 (file)
@@ -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)
     {