qemu/tests/acceptance
Cleber Rosa c0c5a7f18e Acceptance Tests: set up existing ssh keys by default
It's questionable whether it's necessary to create one brand new pair
for each test.  It's not questionable that it takes less time and
resources to just use the keys available at "tests/keys" that exist
for that exact reason.

If a location for the public key is not given explicitly, the
LinuxTest will now set up the existing pair of keys as the default.
This removes the need for a lot of boilerplate code.

To avoid the ssh client from erroring on permission issues, a
directory with restrictive permissions is created for the private key.
This should still be a lot cheaper than creating a new key.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20210203172357.1422425-19-crosa@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[marcandre: fix typos in commit message]
Signed-off-by: Cleber Rosa <crosa@redhat.com>
2021-02-15 22:30:06 -05:00
..
avocado_qemu Acceptance Tests: set up existing ssh keys by default 2021-02-15 22:30:06 -05:00
virtiofs_submounts.py.data tests/acceptance: Add virtiofs_submounts.py 2020-11-02 19:23:48 +00:00
boot_linux_console.py tests/acceptance: Re-enable the microblaze test 2021-02-08 17:22:36 +01:00
boot_linux.py Acceptance Tests: introduce method for requiring an accelerator 2021-02-15 22:23:40 -05:00
cpu_queries.py Acceptance tests: use avocado tags for machine type 2019-12-16 11:23:19 -05:00
empty_cpu_model.py tests/acceptance: Makes linux_initrd and empty_cpu_model use QEMUMachine 2019-12-16 10:59:50 -05:00
linux_initrd.py tests/acceptance: skip LinuxInitrd 2gib with v4.16 on GitLab 2020-07-11 15:53:00 +01:00
linux_ssh_mips_malta.py Acceptance tests: clarify ssh connection failure reason 2021-02-08 17:22:36 +01:00
machine_arm_canona1100.py tests/acceptance: Add a test for the canon-a1100 machine 2020-05-21 20:00:18 +01:00
machine_arm_integratorcp.py tests/acceptance/integratorcp: Verify Tux is displayed on framebuffer 2020-02-28 16:14:57 +00:00
machine_arm_n8x0.py tests/acceptance: Add a test for the N800 and N810 arm machines 2020-02-28 16:14:57 +00:00
machine_avr6.py tests/acceptance: Test the Arduino MEGA2560 board 2020-07-11 11:02:05 +02:00
machine_m68k_nextcube.py tests/acceptance: Introduce tesseract_ocr() helper 2021-02-08 12:37:33 +01:00
machine_microblaze.py tests/acceptance: Re-enable the microblaze test 2021-02-08 17:22:36 +01:00
machine_mips_malta.py tests/acceptance: skip multicore mips_malta tests on GitLab 2020-07-11 15:53:00 +01:00
machine_ppc.py tests/acceptance: Add a test for the virtex-ml507 ppc machine 2021-02-08 12:41:03 +01:00
machine_rx_gdbsim.py tests/acceptance: disable machine_rx_gdbsim on GitLab 2020-10-09 17:27:55 +01:00
machine_s390_ccw_virtio.py tests/acceptance: Fix race conditions in s390x tests & skip fedora on gitlab-CI 2021-01-11 14:59:21 +01:00
machine_sparc64_sun4u.py tests/acceptance: Add a test for the sun4u sparc64 machine 2020-07-06 09:32:59 +02:00
machine_sparc_leon3.py tests/acceptance/machine_sparc_leon3: Disable HelenOS test 2020-04-06 20:03:14 +02:00
migration.py tests/acceptance/migration.py: Wait for both sides 2020-05-31 18:25:31 +02:00
pc_cpu_hotplug_props.py tests/acceptance: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
ppc_prep_40p.py test/acceptance: Remove the CONTINUOUS_INTEGRATION tags 2020-10-26 09:54:16 +01:00
README.rst Add functional/acceptance tests infrastructure 2018-06-15 16:10:11 -03:00
replay_kernel.py tests/acceptance: Increase the timeout in the replay tests 2021-02-08 09:40:51 +00:00
reverse_debugging.py tests/acceptance: pick a random gdb port for reverse debugging 2020-10-27 09:53:51 +00:00
tesseract_utils.py tests/acceptance: Introduce tesseract_ocr() helper 2021-02-08 12:37:33 +01:00
version.py tests/acceptance/version: Default to -nodefaults 2020-02-07 15:12:48 +01:00
virtio_check_params.py tests/acceptance: Remove shebang header 2020-02-07 15:12:48 +01:00
virtio_version.py python/qemu: split QEMUMachine out from underneath __init__.py 2019-07-01 19:02:10 -03:00
virtio-gpu.py tests/acceptance/virtio-gpu.py: preserve virtio-user-gpu log 2021-02-15 21:45:07 -05:00
virtiofs_submounts.py Acceptance Tests: introduce method for requiring an accelerator 2021-02-15 22:23:40 -05:00
vnc.py acceptance: switch to QMP change-vnc-password command 2021-01-23 15:55:07 -05:00
x86_cpu_model_versions.py tests/acceptance: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01: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".