]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qtest/drive_del-test.c
tests/drive_del-test: Use qtest_init() instead of qtest_start()
authorThomas Huth <thuth@redhat.com>
Tue, 9 Apr 2019 10:38:41 +0000 (12:38 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 8 May 2019 15:45:54 +0000 (17:45 +0200)
commita771729cdf450881cbe66261aea740ccbd02b8ff
treea8a79b1b3f2180f7906e5490a8971af6d6e61860
parent1e47ac8216d9b45d11498c5b863a8cfc782b0054
tests/drive_del-test: 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: Eric Blake <eblake@redhat.com>
Message-Id: <20190508142153.21555-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/drive_del-test.c