Revert "qtest: Fix crash if SIGABRT during qtest_init()"
commit96b8ca47f8f21ba32a60930cddbf5da27d36b20d
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 27 Mar 2014 14:09:49 +0000 (27 15:09 +0100)
committerAndreas Färber <afaerber@suse.de>
Mon, 31 Mar 2014 20:20:04 +0000 (31 22:20 +0200)
tree62ae4b9b7b133449035c27917e2e07f99107a824
parent58b590148ca1b19f64f533d40e32b5acce5c21e7
Revert "qtest: Fix crash if SIGABRT during qtest_init()"

It turns out there are test cases that use multiple libqtest instances.
We cannot use a global qtest instance in the SIGABRT handler.

This reverts commit cb201b4872f16dfbce63f8648b2584631e2e965f.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel.a@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
tests/libqtest.c
tests/libqtest.h