tests: Move to kernel style SPDX license identifiers
[lttng-tools.git] / tests / regression / tools / health / test_thread_exit
... / ...
CommitLineData
1#!/bin/bash
2#
3# Copyright (C) 2012 Christian Babeux <christian.babeux@efficios.com>
4# Copyright (C) 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5#
6# SPDX-License-Identifier: GPL-2.0-only
7
8TEST_DESC="Health check - Thread exit"
9
10SESSION_NAME="health_thread_exit"
11SESSIOND_PRELOAD=".libs/libhealthexit.so"
12TEST_SUFFIX="EXIT"
13CURDIR=$(dirname $(readlink -f $0))
14
15# A current design limitation of the lttng-consumerd will cause it to
16# hang on shutdown if the timer management thread exits as the teardown
17# of channels switches off the channel's timers. The timer thread is
18# then expected to purge timer signals and signal when it is done.
19# Obviously this state will never be reached as signals are no longer
20# being processed. This is not dramatic as this is not what this test
21# is meant to test; we only want to make sure the health check signals that
22# something went wrong.
23KILL_SIGNAL="SIGKILL"
24
25source ${CURDIR}/test_health.sh
This page took 0.023417 seconds and 5 git commands to generate.