]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qtest/libqtest.c
qtest: add qtest_add_abrt_handler()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 19 Jun 2015 16:45:14 +0000 (18:45 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 24 Oct 2015 16:03:18 +0000 (18:03 +0200)
commit063c23d909a8d6c9f251347514e34835e0510294
tree99085c7859fd6183ff6c4abd6e69990f58ce0dfa
parent43b11a91dd861a946b231b89b7542856ade23d1b
qtest: add qtest_add_abrt_handler()

Allow a test to add abort handlers, use GHook for all handlers.

There is currently no way to remove a handler, but it could be
later added if needed.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
tests/libqtest.c
tests/libqtest.h