Skip to content

Commit 110baa7

Browse files
committed
test: ensures right bootc ref after anaconda-iso install ran
Our "bootc-installer" image installer checks that after the install bootc status points to the right image. This check is missing currently in the anaconda-iso installer type. Lets make sure we have it too.
1 parent 21127ff commit 110baa7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/bib/test_build_iso.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ def test_iso_installs(image_type):
4141
vm.start(use_ovmf=True)
4242
vm.run("true", user=image_type.username, password=image_type.password)
4343
assert_kernel_args(vm, image_type)
44+
ret = vm.run(["bootc", "status"], user="root", keyfile=image_type.ssh_keyfile_private_path)
45+
assert f"image: {image_type.container_ref}" in ret.stdout
4446

4547

4648
def osinfo_for(it: ImageBuildResult, arch: str) -> str:

0 commit comments

Comments
 (0)