]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Introduce negative versions of DO_TEST_CAPS_LATEST
authorErik Skultety <eskultet@redhat.com>
Fri, 7 Dec 2018 12:13:58 +0000 (13:13 +0100)
committerErik Skultety <eskultet@redhat.com>
Wed, 12 Dec 2018 14:12:35 +0000 (15:12 +0100)
commit0d5244cc867155f7548e568f298799d639017698
treeddb6caafe78af5f928ffab3279a028b90cdb25da
parent88d24aaccc1e31ff1ce682f9496cf08cc7f7c216
tests: Introduce negative versions of DO_TEST_CAPS_LATEST

It's fairly easy to forget to add a capability to the list of
capabilities for a negative test case which might yield (for us) very
unfortunate results. Therefore, introduce negative versions of
DO_TEST_CAPS_LATEST macros, so that real QEMU caps can be used with
tests that expect a failure too.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tests/qemuxml2argvtest.c