tests/test-hmp: Use qtest_init() instead of qtest_start()
commit8c7eb0987b255ebb1f6b04fd460a1a7323f3bec3
authorThomas Huth <thuth@redhat.com>
Tue, 9 Apr 2019 08:52:44 +0000 (9 10:52 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 8 May 2019 14:59:28 +0000 (8 16:59 +0200)
tree44a6b0da32904b9e4d24de3ac0763c1d775aba98
parentda9cd2d06cd28fccf09d2e22361a19f9ce6ffc71
tests/test-hmp: Use qtest_init() instead of qtest_start()

qtest_start() + qtest_end() should be avoided, since they use the
global_qtest variable that we want to get rid of in the long run
Use qtest_init() and qtest_quit() instead.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190409085245.31548-5-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/test-hmp.c