diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-11-28 19:59:45 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-11-28 20:57:18 +0100 |
commit | 96cd0558bcd69481ccc42e1b392f0c0b36fce2b0 (patch) | |
tree | 9318349a9edfb5c5e6314c9bb560ff909511bbfc /ChangeLog | |
parent | 530504e3a825a63ad4976f24cd50aa9b15d3b91e (diff) | |
download | glibc-96cd0558bcd69481ccc42e1b392f0c0b36fce2b0.zip glibc-96cd0558bcd69481ccc42e1b392f0c0b36fce2b0.tar.gz glibc-96cd0558bcd69481ccc42e1b392f0c0b36fce2b0.tar.bz2 |
support: Add signal support to support_capture_subprocess_check
Signal zero does not terminate a process, so it is safe to use negative
values for signal numbers.
Adjust libio/tst-vtables-common.c to use this new functionality,
instead of determining the termination status for a signal indirectly.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,20 @@ +2018-11-28 Florian Weimer <fweimer@redhat.com> + + support: Add signal support to support_capture_subprocess_check. + * support/capture_subprocess.h (support_capture_subprocess_check): + Adjust comment and rename parameter. + * support/support_capture_subprocess_check.c + (print_actual_status): New function. + (support_capture_subprocess_check): Support negative + status_or_signal. Call print_actual_status. + * support/tst-support_capture_subprocess.c (do_test): Call + support_capture_subprocess_check. + * libio/tst-vtables-common.c (termination_status) + (init_termination_status): Remove. + (check_for_termination): Adjust support_capture_subprocess_check + call. + (do_test): Remove call to init_termination_status. + 2018-11-28 Joseph Myers <joseph@codesourcery.com> * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original |