From 80340a199b1fa1af5441c103a2807446183c66c7 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Tue, 17 Aug 2021 13:46:55 +0200 Subject: [PATCH] qemuxml2xmltest: Remove 'NONE' macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There's one last user. Use QEMU_CAPS_LAST explicitly. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- tests/qemuxml2xmltest.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index c1fe74f1cc..04aeba383d 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -204,8 +204,6 @@ mymain(void) #define DO_TEST_NOCAPS(name) \ DO_TEST_FULL(name, "", WHEN_BOTH, ARG_END) -#define NONE QEMU_CAPS_LAST - /* Unset or set all envvars here that are copied in qemudBuildCommandLine * using ADD_ENV_COPY, otherwise these tests may fail due to unexpected * values for these envvars */ @@ -632,7 +630,7 @@ mymain(void) DO_TEST_FULL("seclabel-dynamic-none-relabel", "", WHEN_INACTIVE, ARG_QEMU_CAPS, QEMU_CAPS_DEVICE_CIRRUS_VGA, QEMU_CAPS_OBJECT_MEMORY_FILE, - QEMU_CAPS_SPICE, NONE, + QEMU_CAPS_SPICE, QEMU_CAPS_LAST, ARG_END); DO_TEST_NOCAPS("numad-static-vcpu-no-numatune");