]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: cleanup vnc auto socket test
authorPavel Hrdina <phrdina@redhat.com>
Thu, 19 May 2016 08:53:55 +0000 (10:53 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 20 May 2016 08:05:55 +0000 (10:05 +0200)
commit2faa13560cce994f2af657101c2c306686f8e6b8
tree657328a4e43a29749fcfa175aba7166371629495
parented7683f4d6e1f2d11a610d81f752d1ac0029a254
tests: cleanup vnc auto socket test

Commit 55320c23 introduced a new test for VNC to test if
vnc_auto_unix_socket is set in qemu.conf, but forget to enable it in
qemuxml2argvtest.c.

This patch also moves the code in qemuxml2xmltest.c next to other VNC
tests and refactor the test so we also check the case for parsing active
XML.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-auto-socket-cfg.args [moved from tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-autosocket.args with 89% similarity]
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-auto-socket-cfg.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-remove-generated-socket.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-remove-generated-socket.xml [moved from tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-autosocket.xml with 100% similarity]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-vnc-auto-socket-cfg.xml [moved from tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-vnc-autosocket.xml with 100% similarity]
tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-vnc-remove-generated-socket-active.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-vnc-remove-generated-socket-inactive.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c