diff options
author | Eric Blake <eblake@redhat.com> | 2017-09-11 12:20:08 -0500 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2018-12-17 15:36:39 +0100 |
commit | 273e3d92cfa26ae07a72657b75b4b76105a0fbc4 (patch) | |
tree | 8d0c2fda69cbd7116c38d75ff337fefc70f63114 /net/tap-stub.c | |
parent | 24c01ffa9d356eed4530e31f7ef93844b6599502 (diff) |
tests/acpi-utils: 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. Adjust the helper code to
use explicit state instead, and update all callers.
bios-tables-test no longer depends on global_qtest, now that it
passes explicit state through the testsuite data; an assert
proves this fact (although we will get rid of it later, once
global_qtest is gone).
Signed-off-by: Eric Blake <eblake@redhat.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Igor Mammedov <imammedo@redhat.com>
[thuth: adapted patch to current master branch]
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'net/tap-stub.c')
0 files changed, 0 insertions, 0 deletions