aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/vici/python
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2015-04-14 08:59:58 +0200
committerMartin Willi <martin@revosec.ch>2015-04-15 14:38:43 +0200
commit30003bc51ad230663e329aea259784bbbaf3b865 (patch)
tree41a1403adf99546aeabd851a79d3614833ad1200 /src/libcharon/plugins/vici/python
parentd36b30803e2ca313339b44e181efa46c925b51b8 (diff)
downloadstrongswan-30003bc51ad230663e329aea259784bbbaf3b865.tar.bz2
strongswan-30003bc51ad230663e329aea259784bbbaf3b865.tar.xz
unit-tests: Invoke all registered thread cleanup handlers on test failure
If a test fails in a timeout or a test failure, longjmp() is used to restore the thread context and handle test failure. However, there might be unreleased resources, namely locks, which prevent the library to clean up properly after finishing the test. By using thread cleanup handlers, we can release any test subject internal or test specific external resources on test failure. We do so by calling all registered cleanup handlers.
Diffstat (limited to 'src/libcharon/plugins/vici/python')
0 files changed, 0 insertions, 0 deletions