On 07/26/2017 05:00 AM, Peter Krempa wrote:
Extract the test prefix path into a variable and reuse
virTestLoadFileJSON to load the sample json files rather than doing it
manually.
---
tests/qemumonitorjsontest.c | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
Reviewed-by: Eric Blake <eblake(a)redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization:
qemu.org |
libvirt.org