diff options
author | Maciej W. Rozycki <macro@codesourcery.com> | 2014-06-30 20:05:34 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@codesourcery.com> | 2014-06-30 20:11:56 +0100 |
commit | d7a05d0728924b25c5ece7fa41f79fe4b073d92c (patch) | |
tree | 67981d165ed01d2d2301383363b33f9472a34c1a /ChangeLog | |
parent | 46f1d8a6b54fc7ed7a7047d5d2ed1a0b884de6c0 (diff) | |
download | glibc-d7a05d0728924b25c5ece7fa41f79fe4b073d92c.tar.gz glibc-d7a05d0728924b25c5ece7fa41f79fe4b073d92c.tar.xz glibc-d7a05d0728924b25c5ece7fa41f79fe4b073d92c.zip |
test-skeleton: Kill any child process's offspring
This makes sure any subprocesses created by the program being tested get killed as well if their parent times out. Otherwise if they are really stuck, they may remain there running forever after the test case and then the whole test suite has completed, until killed by hand. * test-skeleton.c (signal_handler): Kill the whole process group before killing the child individually. (main): Report any failure on `setpgid'.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 785baf996b..b2ea30c235 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2014-06-30 Maciej W. Rozycki <macro@codesourcery.com> + Roland McGrath <roland@hack.frob.com> + + * test-skeleton.c (signal_handler): Kill the whole process group + before killing the child individually. + (main): Report any failure on `setpgid'. + 2014-06-30 Roland McGrath <roland@hack.frob.com> * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard |