wdt_ib700-test: Drop dependence on global_qtest
commitdb57d7a3c284db2315d92f55962597cc7276579a
authorEric Blake <eblake@redhat.com>
Mon, 11 Sep 2017 17:20:09 +0000 (11 12:20 -0500)
committerThomas Huth <thuth@redhat.com>
Wed, 14 Feb 2018 10:43:42 +0000 (14 11:43 +0100)
tree1c663445ce2ff0d2cf2980c79b11659de7fb9bce
parent8b19f2b77e72c4b0d5f26a2ab6327b407bca195c
wdt_ib700-test: Drop dependence on global_qtest

As a general rule, we prefer avoiding implicit global state
because it makes code harder to safely copy and paste without
thinking about the global state.  Improve this test to be
explicit about the state.

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