[PATCH 04/19] qemucapabilitiestest: Hack/fix version in qemu-3.1 tests

Peter Krempa posted 19 patches 3 years, 12 months ago
Only 16 patches received!
[PATCH 04/19] qemucapabilitiestest: Hack/fix version in qemu-3.1 tests
Posted by Peter Krempa 3 years, 12 months ago
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 <pkrempa@redhat.com>
---
 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 @@
   <flag name='cpu-max'/>
   <flag name='input-linux'/>
   <flag name='virtio-blk.queue-size'/>
-  <version>3000091</version>
+  <version>3001000</version>
   <kvmVersion>0</kvmVersion>
   <microcodeVersion>42900240</microcodeVersion>
   <package>v3.1.0-rc1-74-g3c035a41dc</package>
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 @@
   <flag name='input-linux'/>
   <flag name='query-display-options'/>
   <flag name='virtio-blk.queue-size'/>
-  <version>3000092</version>
+  <version>3001000</version>
   <kvmVersion>0</kvmVersion>
   <microcodeVersion>43100240</microcodeVersion>
   <package>v3.1.0-rc2-48-g039d4e3df0</package>
-- 
2.34.1

Re: [PATCH 04/19] qemucapabilitiestest: Hack/fix version in qemu-3.1 tests
Posted by Ján Tomko 3 years, 12 months ago
On a Thursday in 2022, Peter Krempa wrote:
>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 <pkrempa@redhat.com>
>---
> 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(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano