]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemuargv2xmltest: Resurrect RBD and iSCSI auth
authorJohn Ferlan <jferlan@redhat.com>
Wed, 25 Jun 2014 16:16:56 +0000 (12:16 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 3 Jul 2014 21:39:14 +0000 (17:39 -0400)
commit7712fc7cdb415212cca076d33f509069934cea36
treebc7ef6af3fed6496f8e0c17d13480b9f40f16209
parent1c36b944e2bbf5efca30b3256c1c757ffb331395
qemuargv2xmltest: Resurrect RBD and iSCSI auth

Ressurect the disk-drive-network-iscsi-auth and disk-drive-network-rbd-auth
tests.  Make adjustments to the args and xml file to be compatible with
other changes made to the non "-auth" so that the only difference is the
authentication information.

Adjust the qemuargv2xmltest.c to filter out "<secret" and "</auth>" since
the args -> xml has no concept of usage it doesn't get printed. This results
in the </auth> being printed on the same line as "<secret" and the secret
XML is not closed - a bit of an issue, but soon to be fixed.
tests/qemuargv2xmltest.c
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-iscsi-auth.args
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-iscsi-auth.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-rbd-auth.xml