aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@codesourcery.com>2014-06-30 20:05:34 +0100
committerMaciej W. Rozycki <macro@codesourcery.com>2014-06-30 20:11:56 +0100
commitd7a05d0728924b25c5ece7fa41f79fe4b073d92c (patch)
tree67981d165ed01d2d2301383363b33f9472a34c1a /sysdeps
parent46f1d8a6b54fc7ed7a7047d5d2ed1a0b884de6c0 (diff)
downloadglibc-d7a05d0728924b25c5ece7fa41f79fe4b073d92c.tar
glibc-d7a05d0728924b25c5ece7fa41f79fe4b073d92c.tar.gz
glibc-d7a05d0728924b25c5ece7fa41f79fe4b073d92c.tar.bz2
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 'sysdeps')
0 files changed, 0 insertions, 0 deletions