]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add a test for long USB port paths
authorJán Tomko <jtomko@redhat.com>
Wed, 20 Apr 2016 13:03:57 +0000 (15:03 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 22 Jun 2016 19:33:57 +0000 (21:33 +0200)
commite9843279cc335eb17ff307c33ec74b50e22cf22a
treeedaa06be6e492974515e69f58ddc9de4b7a81edc
parentd85c3a54517ffb0d1b056684069dfc8fc7bc9b8d
Add a test for long USB port paths

We support up to four levels of nested USB devices in the guest.

Add a test for a domain using all four and a negative test for a domain
using five.
tests/qemuxml2argvdata/qemuxml2argv-usb-long-port-path.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-usb-long-port-path.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-usb-too-long-port-path-invalid.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c