Matheus Castanho
f34c4d0f10
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>
2020-02-12 16:25:34 -03:00
..
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2019-10-30 17:04:10 -03:00
2017-06-04 11:31:28 -04:00
2019-10-30 17:04:10 -03:00
2017-06-04 11:31:28 -04:00
2017-06-04 11:31:28 -04:00
2017-06-12 14:56:53 +01:00
2017-06-12 14:56:53 +01:00
2018-06-26 15:27:03 +02:00
2018-06-26 15:27:03 +02:00
2018-06-26 15:27:03 +02:00
2017-08-07 19:55:34 +00:00
2019-10-02 21:12:17 +00:00
2017-08-07 19:55:34 +00:00
2020-01-01 00:14:33 +00:00
2018-06-29 16:53:18 +02:00
2019-09-07 02:43:31 -07:00
2018-06-29 16:53:18 +02:00
2017-06-04 11:31:28 -04:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2018-06-26 15:27:03 +02:00
2017-06-04 11:31:28 -04:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2017-08-18 18:38:55 -03:00
2017-08-31 15:59:02 +02:00
2017-06-04 11:31:28 -04:00
2017-06-04 11:31:28 -04:00
2017-06-04 11:31:28 -04:00
2017-08-31 15:59:02 +02:00
2020-01-01 00:14:33 +00:00
2017-06-04 11:31:28 -04:00
2018-06-26 15:27:03 +02:00
2017-06-04 11:31:28 -04:00
2020-01-01 00:14:33 +00:00
2018-06-26 15:27:03 +02:00
2017-06-04 11:31:28 -04:00
2018-06-29 22:39:06 -04:00
2017-06-04 11:31:28 -04:00
2017-06-04 11:31:28 -04:00
2018-06-26 15:27:03 +02:00
2017-06-04 11:31:28 -04:00
2018-06-26 15:27:03 +02:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2019-10-30 17:04:10 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-02-12 16:25:34 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2017-08-31 15:59:02 +02:00
2017-06-04 11:31:28 -04:00
2017-06-04 11:31:28 -04:00
2020-01-01 00:14:33 +00:00
2017-06-04 11:31:28 -04:00
2017-08-31 15:59:02 +02:00
2017-06-04 11:31:28 -04:00
2017-06-04 11:31:28 -04:00
2017-08-07 19:55:34 +00:00
2019-02-14 20:35:16 +00:00