]> xenbits.xensource.com Git - libvirt.git/commit
qemuxml2*test: Add specific test case for interface link state
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 Dec 2023 14:26:13 +0000 (15:26 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 4 Jan 2024 21:26:10 +0000 (22:26 +0100)
commitaa4c190733af1bb46b14c00c9fed3a14a26e5e8d
treeebbc42a1773e472a444916103e04b29fffb7b555
parent44ee6d67ae33164640fd092c9fcc57d2f60fd1cc
qemuxml2*test: Add specific test case for interface link state

Test both linkstates in an explicit test case. Note that link state is
setup via monitor, thus not visible on the commandline.

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