test/run: make relative OSBUILD_TEST_STORE consistent
Make it relative to the directory invoking ./run, rather than passing it along.
This commit is contained in:
parent
3adcac0123
commit
8c68018d62
1 changed files with 1 additions and 1 deletions
2
test/run
2
test/run
|
|
@ -53,7 +53,7 @@ def netns():
|
|||
def osbuild_test_store():
|
||||
store = os.getenv("OSBUILD_TEST_STORE")
|
||||
if store:
|
||||
yield store
|
||||
yield os.path.abspath(store)
|
||||
else:
|
||||
with tempfile.TemporaryDirectory(dir="/var/tmp", prefix="osbuild-composer-test-") as store:
|
||||
yield store
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue