diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-02-17 16:33:35 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-02-19 15:45:51 +0100 |
commit | b15d422a23a3e4cf1b4195af209211eccdb88d51 (patch) | |
tree | cc7076f950a07749ba9aef323b2e6b514ca5d9f6 /tests/hd-geo-test.c | |
parent | cef60c925c41563721dc73b1ace7b2f399f72a5b (diff) |
qtest: kill QEMU process on g_assert() failure
The QEMU process stays running if the test case fails. This patch fixes
the leak by installing a SIGABRT signal handler which invokes
qtest_end().
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/hd-geo-test.c')
0 files changed, 0 insertions, 0 deletions