]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Add test case for empty 'network' cdrom
authorPeter Krempa <pkrempa@redhat.com>
Tue, 15 Oct 2019 13:19:58 +0000 (15:19 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 21 Oct 2019 13:59:52 +0000 (15:59 +0200)
commite1b5a7b38382a218882fe008676307e3c19ad3c1
tree7b463352a0d3e70b946226fd461b95a7615042ae
parent2c37dc7bda1aa041650e4960c327bfdc9a6e4b73
tests: Add test case for empty 'network' cdrom

We don't allow such config in the schema but the code can handle that so
add a test case supporting it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemuxml2argvdata/disk-cdrom-empty-network-invalid.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/disk-cdrom-empty-network-invalid.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/disk-cdrom-empty-network-invalid.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c