about summary refs log tree commit diff
path: root/sysdeps/sh/sh3/__longjmp.S
diff options
context:
space:
mode:
authorMatheus Castanho <msc@linux.ibm.com>2020-02-12 13:07:32 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2020-02-12 16:25:34 -0300
commitf34c4d0f10ed09500d5f0ebd473c3f37ce4989d7 (patch)
tree803fc2b500203d3c8ce02cfe6aa696d64db21029 /sysdeps/sh/sh3/__longjmp.S
parent0a8ce6a0966283b17f373f430929bcadef1ae205 (diff)
downloadglibc-f34c4d0f10ed09500d5f0ebd473c3f37ce4989d7.tar.gz
glibc-f34c4d0f10ed09500d5f0ebd473c3f37ce4989d7.tar.xz
glibc-f34c4d0f10ed09500d5f0ebd473c3f37ce4989d7.zip
sunrpc: Properly clean up if tst-udp-timeout fails
The macro TEST_VERIFY_EXIT is used several times on
sunrpc/tst-udp-timeout to exit the test if a condition evaluates to
false. The side effect is that the code to terminate the RPC server
process is not executed when the program calls exit, so that
sub-process stays alive.

This commit registers a clean up function with atexit to kill the
server process before exiting the main program.

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'sysdeps/sh/sh3/__longjmp.S')
0 files changed, 0 insertions, 0 deletions