Tests: Add health check thread exit test
authorChristian Babeux <christian.babeux@efficios.com>
Tue, 2 Oct 2012 18:05:32 +0000 (14:05 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 2 Oct 2012 20:12:20 +0000 (16:12 -0400)
This test trigger a failure in a specified thread using the recently
introduced testpoint mechanism. The testpoints behavior is implemented
in health_exit.c. The testpoint code simply calls pthread_exit(3) and
effectively "kill" the thread without affecting the other threads
behavior.

The test select the thread to be "killed" by enabling a specific
environment variable.

With this test we ensure that each thread can be succesfully terminated
and that the health check feature properly detect a failure.

Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>

No differences found
This page took 0.02423 seconds and 4 git commands to generate.