]> git.ipfire.org Git - thirdparty/libvirt.git/commit
testCompareXMLToArgv: Split out preparation and command formatting
authorPeter Krempa <pkrempa@redhat.com>
Fri, 15 May 2020 06:50:31 +0000 (08:50 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 May 2020 07:41:57 +0000 (09:41 +0200)
commit973e2d9b9fa6027857648b4c7f3bda9c11596657
treed73e084f8cbeb440f3e86ea86078c92cfbc00d4a
parent9c9732d03afe2c555884db3965cc5beab3ec415f
testCompareXMLToArgv: Split out preparation and command formatting

There are multiple steps of setting up the domain definition prior to
formatting the command line for the tests. Extract it to a separate
function so that it's self-contained and also will allow re-running the
command line formatting which will be necessary for QMP schema
validation tests.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
tests/qemuxml2argvtest.c