tests/m48t59: Make the test independent of global_qtest
authorThomas Huth <thuth@redhat.com>
Mon, 12 Feb 2018 11:59:46 +0000 (12:59 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 14 Feb 2018 10:43:42 +0000 (11:43 +0100)
commit7cbe423c2399e172d4a3ca3c7fe94c19a575dc8e
tree150fac35f85e723835f1b787bd310c1d3c911b55
parent9c29830c90d82f27f2152da187b29c71995e63b1
tests/m48t59: Make the test independent of global_qtest

Stop using the functions that require global_qtest here and pass
around the QTestState instead (global_qtest should finally get
removed since this causes problems with tests running in parallel).

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/m48t59-test.c