Commit | Line | Data |
---|---|---|
6b5133f2 CB |
1 | #!/bin/bash |
2 | # | |
9d16b343 MJ |
3 | # Copyright (C) 2012 Christian Babeux <christian.babeux@efficios.com> |
4 | # Copyright (C) 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
6b5133f2 | 5 | # |
9d16b343 | 6 | # SPDX-License-Identifier: GPL-2.0-only |
6b5133f2 CB |
7 | |
8 | TEST_DESC="Health check - Testpoint failure" | |
9 | ||
6b5133f2 | 10 | SESSION_NAME="health_tp_fail" |
6b5133f2 | 11 | SESSIOND_PRELOAD=".libs/libhealthtpfail.so" |
a33d2d4a MD |
12 | TEST_SUFFIX="TP_FAIL" |
13 | CURDIR=$(dirname $(readlink -f $0)) | |
6b5133f2 | 14 | |
d9ab3385 JG |
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. | |
23 | KILL_SIGNAL="SIGKILL" | |
24 | ||
a33d2d4a | 25 | source ${CURDIR}/test_health.sh |