Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:ARM:Rings:1-MinimalX
virt-manager
093-cli-Fix-with-latest-libvirt.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 093-cli-Fix-with-latest-libvirt.patch of Package virt-manager
Subject: tests: cli: Fix with latest libvirt From: Cole Robinson crobinso@redhat.com Tue Aug 6 10:34:28 2024 -0400 Date: Wed Aug 7 11:58:49 2024 -0400: Git: 1194f09968b4cfb637bec6f2361c31abc6d9ffb8 The libvirt test driver supports more APIs now, so we are getting a different error message. Extend the grep= string to work with both old and new libvirt Signed-off-by: Cole Robinson <crobinso@redhat.com> --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1337,7 +1337,7 @@ c.add_invalid("test --edit 2 --cpu host- c.add_invalid("test-for-virtxml --edit 5 --tpm /dev/tpm", grep="'--edit 5' requested but there's only 1 --tpm object in the XML") c.add_invalid("test-for-virtxml --add-device --host-device 0x04b3:0x4485 --update --confirm", input_text="yes", grep="not supported") c.add_invalid("test-for-virtxml --remove-device --host-device 1 --update --confirm", input_text="foo\nyes\n", grep="not supported by the connection driver: virDomainDetachDevice") -c.add_invalid("test-for-virtxml --edit --graphics password=foo,keymap= --update --confirm", input_text="yes", grep="not supported by the connection driver: virDomainUpdateDeviceFlags") +c.add_invalid("test-for-virtxml --edit --graphics password=foo,keymap= --update --confirm", input_text="yes", grep="(not supported by the connection driver: virDomainUpdateDeviceFlags|persistent update of device 'graphics' is not supported)") c.add_invalid("--build-xml --memory 10,maxmemory=20", grep="--build-xml not supported for --memory") c.add_invalid("test-state-shutoff --edit sparse=no --disk path=blah", grep="Don't know how to match device type 'disk' property 'sparse'") c.add_invalid("test --add-device --xml ./@foo=bar", grep="--xml can only be used with --edit")
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor