summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/x86_cpu_model_versions.py
diff options
context:
space:
mode:
authorCleber Rosa2019-08-28 21:36:27 +0200
committerCleber Rosa2019-09-20 23:03:41 +0200
commitd0b63087ce97da2f9b69e9c07daefc57fd99e83e (patch)
tree84de106783fb8bb232edc76df4ac95823284e05b /tests/acceptance/x86_cpu_model_versions.py
parentAcceptance test x86_cpu_model_versions: shutdown VMs (diff)
downloadqemu-d0b63087ce97da2f9b69e9c07daefc57fd99e83e.tar.gz
qemu-d0b63087ce97da2f9b69e9c07daefc57fd99e83e.tar.xz
qemu-d0b63087ce97da2f9b69e9c07daefc57fd99e83e.zip
Acceptance test x86_cpu_model_versions: fix mismatches between test and messages
This fixes a few mismatches between the test and the error messages produced in case of failures. Signed-off-by: Cleber Rosa <crosa@redhat.com> Message-Id: <20190828193628.7687-3-crosa@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'tests/acceptance/x86_cpu_model_versions.py')
-rw-r--r--tests/acceptance/x86_cpu_model_versions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/acceptance/x86_cpu_model_versions.py b/tests/acceptance/x86_cpu_model_versions.py
index e6c76b0d4c..220d18f68d 100644
--- a/tests/acceptance/x86_cpu_model_versions.py
+++ b/tests/acceptance/x86_cpu_model_versions.py
@@ -280,7 +280,7 @@ class X86CPUModelAliases(avocado_qemu.Test):
vm.add_args('-cpu', 'Cascadelake-Server-v1,x-force-features=on,check=off,enforce=off')
vm.launch()
self.assertFalse(get_cpu_prop(vm, 'arch-capabilities'),
- 'pc-i440fx-4.1 + Cascadelake-Server-v1 should not have arch-capabilities')
+ 'pc-i440fx-4.0 + Cascadelake-Server-v1 should not have arch-capabilities')
vm.shutdown()
vm = self.get_vm()
@@ -289,14 +289,14 @@ class X86CPUModelAliases(avocado_qemu.Test):
vm.add_args('-cpu', 'Cascadelake-Server-v2,x-force-features=on,check=off,enforce=off')
vm.launch()
self.assertTrue(get_cpu_prop(vm, 'arch-capabilities'),
- 'pc-i440fx-4.1 + Cascadelake-Server-v1 should have arch-capabilities')
+ 'pc-i440fx-4.0 + Cascadelake-Server-v2 should have arch-capabilities')
vm.shutdown()
# command line must override machine-type and versioned CPU model:
vm = self.get_vm()
vm.add_args('-S')
vm.set_machine('pc-i440fx-4.0')
- vm.add_args('-cpu', 'Cascadelake-Server,x-force-features=on,check=off,enforce=off,+arch-capabilities')
+ vm.add_args('-cpu', 'Cascadelake-Server-v1,x-force-features=on,check=off,enforce=off,+arch-capabilities')
vm.launch()
self.assertTrue(get_cpu_prop(vm, 'arch-capabilities'),
'pc-i440fx-4.0 + Cascadelake-Server-v1,+arch-capabilities should have arch-capabilities')