From: Peter Krempa Date: Thu, 23 Feb 2023 08:21:41 +0000 (+0100) Subject: qemuxml2argvtest: Modernize negative cputune-* cases X-Git-Tag: v9.2.0-rc1~218 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a27d3595a8a20db7fe0394e46fc947b482ed3a77;p=thirdparty%2Flibvirt.git qemuxml2argvtest: Modernize negative cputune-* cases Use latest caps for the tests even though the original test case didn't need any capabilities. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/tests/qemuxml2argvdata/cputune-iothreadsched-toomuch.err b/tests/qemuxml2argvdata/cputune-iothreadsched-toomuch.x86_64-latest.err similarity index 100% rename from tests/qemuxml2argvdata/cputune-iothreadsched-toomuch.err rename to tests/qemuxml2argvdata/cputune-iothreadsched-toomuch.x86_64-latest.err diff --git a/tests/qemuxml2argvdata/cputune-vcpusched-overlap.err b/tests/qemuxml2argvdata/cputune-vcpusched-overlap.x86_64-latest.err similarity index 100% rename from tests/qemuxml2argvdata/cputune-vcpusched-overlap.err rename to tests/qemuxml2argvdata/cputune-vcpusched-overlap.x86_64-latest.err diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 00ad9e7333..2cd1ef613f 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1953,8 +1953,8 @@ mymain(void) DO_TEST_NOCAPS("blkiotune-device"); DO_TEST_CAPS_LATEST("cputune"); DO_TEST_CAPS_LATEST("cputune-zero-shares"); - DO_TEST_PARSE_ERROR_NOCAPS("cputune-iothreadsched-toomuch"); - DO_TEST_PARSE_ERROR_NOCAPS("cputune-vcpusched-overlap"); + DO_TEST_CAPS_LATEST_PARSE_ERROR("cputune-iothreadsched-toomuch"); + DO_TEST_CAPS_LATEST_PARSE_ERROR("cputune-vcpusched-overlap"); DO_TEST_CAPS_LATEST("cputune-numatune"); DO_TEST_CAPS_LATEST("vcpu-placement-static"); DO_TEST_CAPS_LATEST("cputune-cpuset-big-id");