diff options
author | Cole Robinson <crobinso@redhat.com> | 2022-07-27 17:51:21 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2022-07-27 17:51:21 -0400 |
commit | a4a5c1529a81c5bd5636b4847b03643d97fa3dd3 (patch) | |
tree | 5307851bd67ec4bcc5ea30a09afdd77aea416398 /tests/test_cli.py | |
parent | 7ae10b5566ac4d8c7afd94499a9733ed42cf3d07 (diff) | |
download | virt-manager-a4a5c1529a81c5bd5636b4847b03643d97fa3dd3.tar.gz |
tests: Fix with latest libvirt
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'tests/test_cli.py')
-rw-r--r-- | tests/test_cli.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_cli.py b/tests/test_cli.py index 715fc503..7d73f7a6 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -487,7 +487,6 @@ emulator=/new/emu,bootloader=/new/bootld,bootloader_args='--append single',reboo initargs="foo=bar baz=woo",initdir=/my/custom/cwd,inituser=tester,initgroup=1000,\ bios.useserial=no,bios.rebootTimeout=60,cmdline=root=/foo,\ bootmenu.enable=yes,bootmenu.timeout=5000,\ -loader_ro=yes,loader.type=rom,loader=/tmp/foo,loader_secure=no,\ acpi.table=/path/to/slic.dat,acpi.table.type=slic,\ initenv0.name=MYENV,initenv0='some value',initenv1.name=FOO,initenv1=bar,\ initdir=/my/custom/cwd,inituser=tester,initgroup=1000 @@ -833,6 +832,9 @@ c.add_compare("--pxe " "--seclabel type=dynamic " # test a fallback case when guessing model= "--sysinfo emulate " # special `--sysinfo emulate` handling "--cpuset 1,3-5 " # setting compat --cpuset when --vcpus is not present +# --boot loader settings here, or they will conflict with firmware=efi +# in other test cases +"--boot loader_ro=yes,loader.type=rom,loader=/tmp/foo,loader_secure=no " # 'default' handling for solo devices """ @@ -1345,7 +1347,7 @@ c.add_compare("4a64cc71-19c4-2fd0-2323-3050941ea3c3 --edit --boot network,cdrom" c.add_compare("--confirm 1 --edit --cpu host-passthrough", "prompt-response", input_text="yes") # prompt response, also using domid lookup c.add_compare("--edit --print-diff --qemu-commandline clearxml=yes", "edit-clearxml-qemu-commandline", input_file=(_VIRTXMLDIR + "virtxml-qemu-commandline-clear.xml")) c.add_compare("--print-diff --remove-device --serial 1", "remove-console-dup", input_file=(_VIRTXMLDIR + "virtxml-console-dup.xml")) -c.add_compare("--print-diff --define --connect %(URI-KVM-X86)s test-many-devices --edit --boot uefi", "edit-boot-uefi") +c.add_compare("--print-diff --define --connect %(URI-KVM-X86)s test --edit --boot uefi", "edit-boot-uefi") c.add_compare("--print-diff --define --connect %(URI-KVM-X86)s test-many-devices --edit --cpu host-copy", "edit-cpu-host-copy") c.add_compare("--connect %(URI-KVM-X86)s test-many-devices --build-xml --disk source.pool=pool-disk,source.volume=sdfg1", "build-pool-logical-disk") c.add_compare("test --add-device --network default --update --confirm", "update-succeed", env={"VIRTXML_TESTSUITE_UPDATE_IGNORE_FAIL": "1", "VIRTINST_TEST_SUITE_INCREMENT_MACADDR": "1"}, input_text="yes\nyes\n") # test hotplug success |