Skip to content
Snippets Groups Projects
Commit 9444e5f5 authored by John Snow's avatar John Snow Committed by Paolo Bonzini
Browse files

iotests: get rid of '..' in path environment output


Resolve the build_root before we append more items onto it so that the
environment output is more concise with less parent directory confetti
in it.

Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
Message-ID: <20230621002121.1609612-4-jsnow@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 80048576
No related branches found
No related tags found
No related merge requests found
......@@ -216,7 +216,7 @@ def __init__(self, source_dir: str, build_dir: str,
self.source_iotests = source_dir
self.build_iotests = build_dir
self.build_root = os.path.join(self.build_iotests, '..', '..')
self.build_root = Path(self.build_iotests).parent.parent
self.init_directories()
......
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