From 2a273072b63cb84b06e8d6f43cbabdb79cb77e4b Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 3 Feb 2022 13:23:33 +0100 Subject: [PATCH] qemucapabilitiestest: Hack/fix version in qemu-3.1 tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test dumps for x86_64 and ppc64 were generated from pre-release qemu-3.0-rc1/rc2 and thus wouldn't pass our minimum version check. As these are very old, fix the version info we use for our check to 3.1 without re-generating them and keep the version tag intact. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies | 4 ++-- tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml | 2 +- tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies | 4 ++-- tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies index 64080b52ad..5663253798 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies @@ -17,8 +17,8 @@ { "return": { "qemu": { - "micro": 91, - "minor": 0, + "micro": 0, + "minor": 1, "major": 3 }, "package": "v3.1.0-rc1-74-g3c035a41dc" diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml index ca2ce49684..08ae7072d5 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml @@ -143,7 +143,7 @@ - 3000091 + 3001000 0 42900240 v3.1.0-rc1-74-g3c035a41dc diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies index d021745a06..144448783a 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies @@ -17,8 +17,8 @@ { "return": { "qemu": { - "micro": 92, - "minor": 0, + "micro": 0, + "minor": 1, "major": 3 }, "package": "v3.1.0-rc2-48-g039d4e3df0" diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml index 654e9acca4..c342862b9a 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml @@ -186,7 +186,7 @@ - 3000092 + 3001000 0 43100240 v3.1.0-rc2-48-g039d4e3df0