mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
tests: add fake-win-multi.iso and test it
This has ambiguous volume labels that will match multiple osinfo output: $ osinfo-detect -a tests/data/fakemedia/fake-win-multi.iso Media is bootable. Generated by editing `fake-win7.iso` already in tree $ xorriso -indev fake-win7.iso -outdev test.iso \ -boot_image isolinux keep \ -volid SSS_X64CHK_ -volset_id SSS_X64CHK_ Add a simple test case that confirms _some_ os was detected, and virt-install doesn't totally choke on it Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
f4a9722dc6
commit
9ec9c400f4
BIN
tests/data/fakemedia/fake-win-multi.iso
Normal file
BIN
tests/data/fakemedia/fake-win-multi.iso
Normal file
Binary file not shown.
@ -1076,6 +1076,7 @@ c.add_compare("--reinstall test-cdrom --cdrom %(ISO-WIN7)s --unattended", "reins
|
||||
c.add_invalid("--reinstall test --cdrom %(ISO-WIN7)s", grep="already active") # trying to reinstall an active VM should fail
|
||||
c.add_invalid("--reinstall test --osinfo none", grep="install method must be specified") # missing install method
|
||||
c.add_valid("--osinfo list", grep="osinfo-query os") # --osinfo list
|
||||
c.add_valid(f"--cdrom {MEDIA_DIR}/fake-win-multi.iso --disk none ") # verify media that matches multi OS doesn't blow up.
|
||||
|
||||
|
||||
####################
|
||||
|
Loading…
Reference in New Issue
Block a user