tests/acceptance/virtiofs_submounts: use workdir property
authorCleber Rosa <crosa@redhat.com>
Wed, 3 Feb 2021 17:23:39 +0000 (12:23 -0500)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 8 Feb 2021 16:22:36 +0000 (17:22 +0100)
commitfef453ee185958bf42644e3eb107e99184e0cbfc
tree3802fdddbd613518a00ba8da5b6766cb5a1d11e2
parentb5a86c482d9c18b594b7dc8c37acc5bc72c4279a
tests/acceptance/virtiofs_submounts: use workdir property

For Avocado Instrumented based tests, it's a better idea to just use
the property.  The environment variable is a fall back for tests not
written using that Python API.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Beraldo Leal <bleal@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reference: https://avocado-framework.readthedocs.io/en/84.0/api/test/avocado.html#avocado.Test.workdir
Message-Id: <20210203172357.1422425-5-crosa@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
tests/acceptance/virtiofs_submounts.py