OSDN Git Service

tests/device-introspect: Use qtest_init() instead of qtest_start()
authorThomas Huth <thuth@redhat.com>
Wed, 15 May 2019 17:43:27 +0000 (19:43 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 21 May 2019 08:00:41 +0000 (10:00 +0200)
commit39fb795a87608c621fa2cb11b2b1509299b5be50
treec3cfce97f8df838eceaa1ddf3b1740ff8b1538c3
parent9266ebc97b8d07117367d0c5a8eb9ab77a69b7c9
tests/device-introspect: 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.

Message-Id: <20190515174328.16361-6-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/device-introspect-test.c