qemu/tests/acceptance
Philippe Mathieu-Daudé 6c1c4c33b5 tests/boot_linux_console: Let extract_from_deb handle various compressions
Debian binary package format supports various compressions.

Per man deb(5):

  NAME
    deb - Debian binary package format

  FORMAT
    ...
    The third, last required member is named data.tar.  It contains the
    filesystem as a tar archive, either not compressed (supported since
    dpkg 1.10.24), or compressed with gzip (with .gz extension),
    xz (with .xz extension, supported since dpkg 1.15.6),
    bzip2 (with .bz2 extension, supported since dpkg 1.10.24) or
    lzma (with .lzma extension, supported since dpkg 1.13.25).

List the archive files to have the 3rd name with the correct extension.

The function avocado.utils.archive.extract() will handle the different
compression format for us.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190312234541.2887-2-philmd@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2019-06-11 14:13:00 -03:00
..
avocado_qemu tests/acceptance: look for target architecture in test tags first 2019-05-02 21:33:26 -03:00
boot_linux_console.py tests/boot_linux_console: Let extract_from_deb handle various compressions 2019-06-11 14:13:00 -03: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 tests/acceptance: use "arch:" tag to filter target specific tests 2019-05-02 21:33:26 -03:00
linux_ssh_mips_malta.py BootLinuxSshTest: Test some userspace commands on Malta 2019-05-26 17:45:02 +02:00
migration.py tests.acceptance: adds simple migration test 2019-02-22 14:07:01 -05:00
README.rst Add functional/acceptance tests infrastructure 2018-06-15 16:10:11 -03:00
version.py Acceptance tests: drop usage of "🥑 enable" 2019-02-22 14:07:01 -05:00
virtio_version.py tests/acceptance: use "arch:" tag to filter target specific tests 2019-05-02 21:33:26 -03: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".