Skip to content
Snippets Groups Projects
Commit 0db2c839 authored by Simon McVittie's avatar Simon McVittie
Browse files

testutils: Make sure the artifacts path is absolute


If we're passing it across a container boundary, relative paths are
going to get error-prone.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 360eeecd
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ class BaseTest(unittest.TestCase):
artifacts = os.getenv('AUTOPKGTEST_ARTIFACTS')
if artifacts is not None:
self.artifacts = artifacts
self.artifacts = os.path.abspath(artifacts)
else:
self.artifacts = self.tmpdir.name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment