On 12/6/18 10:49 AM, Thomas Huth wrote:
Apart from using qmp() in the qmp_discard_response() macro, these
tests do not have any dependencies to the global_qtest variable,
so we can simply get rid of it here by replacing the qmp() with
qtest_qmp() in the macro.

Signed-off-by: Thomas Huth <th...@redhat.com>
---
  tests/test-filter-mirror.c     |  9 +++++----
  tests/test-filter-redirector.c | 16 +++++++++-------
  2 files changed, 14 insertions(+), 11 deletions(-)

Reviewed-by: Eric Blake <ebl...@redhat.com>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Reply via email to