]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Use WHEN_BOTH in qemuxml2xml whenever possible
authorAndrea Bolognani <abologna@redhat.com>
Thu, 28 Feb 2019 16:10:17 +0000 (17:10 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 5 Mar 2019 09:41:08 +0000 (10:41 +0100)
commitbb5c6e7a968ff3ce88b50f02522ace8eba664343
treed5e07c49540f732ef48eb02928722f98435232ee
parentc5bc4437ee41e82ba1184d6349bcd59dbc8213dc
tests: Use WHEN_BOTH in qemuxml2xml whenever possible

There are a few cases where we are using either WHEN_ACTIVE
or WHEN_INACTIVE even though WHEN_BOTH would work perfectly
fine: for those, start using the simpler DO_TEST() macro.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2xmloutdata/channel-unix-source-path-active.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/channel-unix-source-path-inactive.xml [moved from tests/qemuxml2xmloutdata/channel-unix-source-path.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-active-commit-active.xml [moved from tests/qemuxml2xmloutdata/disk-active-commit.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-active-commit-inactive.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/seclabel-static-labelskip-active.xml [moved from tests/qemuxml2xmloutdata/seclabel-static-labelskip.xml with 100% similarity]
tests/qemuxml2xmloutdata/seclabel-static-labelskip-inactive.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c