qemu/tests/acceptance
Eduardo Habkost 5b863f3e2f cpu: Fix crash with empty -cpu option
Fix the following crash:

  $ qemu-system-x86_64 -cpu ''
  qemu-system-x86_64: qom/cpu.c:291: cpu_class_by_name: \
      Assertion `cpu_model && cc->class_by_name' failed.

Regression test script included.

Fixes: 99193d8f2e ("cpu: drop unnecessary NULL check and cpu_common_class_by_name()")
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190418034501.5038-1-ehabkost@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Tested-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2019-04-25 14:17:35 -03:00
..
avocado_qemu tests.acceptance: adds multi vm capability for acceptance tests 2019-02-22 14:07:01 -05:00
boot_linux_console.py Acceptance tests: drop usage of "🥑 enable" 2019-02-22 14:07:01 -05:00
cpu_queries.py i386: Disable OSPKE on CPU model definitions 2019-03-20 12:18:15 -03:00
empty_cpu_model.py cpu: Fix crash with empty -cpu option 2019-04-25 14:17:35 -03:00
linux_initrd.py Acceptance tests: expect boot to extract 2GiB+ initrd with linux-v4.16 2019-02-22 14:07:01 -05:00
migration.py tests.acceptance: adds simple migration test 2019-02-22 14:07:01 -05:00
README.rst
version.py Acceptance tests: drop usage of "🥑 enable" 2019-02-22 14:07:01 -05:00
virtio_version.py Introduce a Python module structure 2019-02-22 14:07:01 -05:00
vnc.py Acceptance tests: drop usage of "🥑 enable" 2019-02-22 14:07:01 -05:00

============================================
Acceptance tests using the Avocado Framework
============================================

This directory contains functional tests, also known as acceptance
level tests.  They're usually higher level, and may interact with
external resources and with various guest operating systems.

For more information, please refer to ``docs/devel/testing.rst``,
section "Acceptance tests using the Avocado Framework".