test/assemblers: don't delete output in the store
To fix running the test multiple times with OSBUILD_TEST_STORE.
This commit is contained in:
parent
e7c939b9e1
commit
f09a0c2a69
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ class TestAssemblers(osbuildtest.TestCase):
|
|||
tree_id, output_id = self.run_assembler("org.osbuild.qemu", options)
|
||||
image = f"{self.store}/refs/{output_id}/image.{fmt}"
|
||||
if fmt == "raw.xz":
|
||||
subprocess.run(["unxz", image], check=True)
|
||||
subprocess.run(["unxz", "--keep", "--force", image], check=True)
|
||||
image = image[:-3]
|
||||
fmt = "raw"
|
||||
self.assertImageFile(image, fmt, options["size"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue