]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2argvtest: Sanitize testing of '-enable-fips'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 21 Oct 2020 08:08:11 +0000 (10:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 22 Oct 2020 07:03:28 +0000 (09:03 +0200)
commitca8f7b8a02092b1fe19956cd87b03b6a491df245
tree718e28f5219912f7835e5c5ab7a73147a4ac7220
parent25cb07498e962e9e8452e6b17c397132e8364ec7
qemuxml2argvtest: Sanitize testing of '-enable-fips'

Rename 'FLAG_FIPS' to 'FLAG_FIPS_HOST' to signify that we are simulating
a host supporting fips mode and use the flag to assert 'enabeFips'
argument of 'qemuProcessCreatePretendCmdBuild' rather than passing it
via QEMU_CAPS_ENABLE_FIPS.

This prepares the testsuite for testing of -enable-fips deprecation in
qemu-5.2.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tests/qemuxml2argvdata/fips-enabled.args [deleted file]
tests/qemuxml2argvdata/fips-enabled.x86_64-5.1.0.args [new file with mode: 0644]
tests/qemuxml2argvdata/fips-enabled.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/testutilsqemu.h