test_multi_app ust $generator_pid
- kill -9 $generator_pid 2> /dev/null
+ kill -s SIGTERM $generator_pid 2> /dev/null
wait $generator_pid 2> /dev/null
rm -rf ${TESTAPP_STATE_FILE} 2> /dev/null
}
test_multi_app kernel $generator_pid
- kill -9 $generator_pid 2>/dev/null
+ kill -s SIGTERM $generator_pid 2> /dev/null
wait $generator_pid 2> /dev/null
rm -rf ${TESTAPP_STATE_FILE} 2> /dev/null
test_on_register_evaluation ust $generator_pid
- kill -9 $generator_pid 2> /dev/null
+ kill -s SIGTERM $generator_pid 2> /dev/null
wait $generator_pid 2> /dev/null
rm -rf ${TESTAPP_STATE_FILE} 2> /dev/null
test_on_register_evaluation kernel $generator_pid
- kill -9 $generator_pid 2> /dev/null
+ kill -s SIGTERM $generator_pid 2> /dev/null
wait $generator_pid 2> /dev/null
rm -rf ${TESTAPP_STATE_FILE} 2> /dev/null
destroy_lttng_session_ok $SESSION_NAME
stop_lttng_sessiond
- kill -9 $generator_pid
+ kill -s SIGTERM $generator_pid 2> /dev/null
wait $generator_pid 2> /dev/null
for pipe in "${consumerd_pipe[@]}"; do