Acceptance Tests: use the job work directory for created VMs
commitb1f3b410528177c0a2f86b48bb9fb24422008fb1
authorCleber Rosa <crosa@redhat.com>
Thu, 11 Feb 2021 21:55:05 +0000 (11 16:55 -0500)
committerCleber Rosa <crosa@redhat.com>
Tue, 13 Jul 2021 17:18:50 +0000 (13 13:18 -0400)
treea764bb73cdb9a789af9e7049c063b785cbc410e3
parent708f50199b59476ec4b45ebcdf171550086d6292
Acceptance Tests: use the job work directory for created VMs

The QEMUMachine uses a base temporary directory for all temporary
needs.  By setting it to the Avocado's workdir, it's possible to
keep the temporary files during debugging sessions much more
easily by setting the "--keep-tmp" command line option.

Reference: https://avocado-framework.readthedocs.io/en/85.0/api/test/avocado.html#avocado.Test.workdir
Reference:
https://avocado-framework.readthedocs.io/en/85.0/config/index.html#run-keep-tmp

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-Id: <20210211220146.2525771-4-crosa@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
tests/acceptance/avocado_qemu/__init__.py