libvirt/tests/storagevolxml2xmlin
Daniel P. Berrangé 912c6b22fc util: require command args to be non-NULL
The virCommand APIs do not expect to be given a NULL value for an arg
name or value. Such a mistake can lead to execution of the wrong
command, as the NULL may prematurely terminate the list of args.
Detect this and report suitable error messages.

This identified a flaw in the storage test which was passing a NULL
instead of the volume path. This flaw was then validated by an incorrect
set of qemu-img args as expected data.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2018-12-17 14:43:33 +00:00
..
vol-encrypt1.xml
vol-encrypt2.xml
vol-file-backing.xml
vol-file-iso.xml
vol-file-naming.xml
vol-file-qcow2.xml
vol-file.xml
vol-gluster-dir-neg-uid.xml
vol-gluster-dir.xml
vol-logical-backing.xml
vol-logical.xml
vol-luks-cipher.xml
vol-luks-convert.xml
vol-luks.xml
vol-partition.xml
vol-qcow2-0.10-lazy.xml
vol-qcow2-1.1.xml
vol-qcow2-encryption.xml
vol-qcow2-lazy.xml
vol-qcow2-nobacking.xml
vol-qcow2-nocapacity-backing.xml
vol-qcow2-nocapacity.xml
vol-qcow2-nocow.xml
vol-qcow2-zerocapacity.xml util: require command args to be non-NULL 2018-12-17 14:43:33 +00:00
vol-qcow2.xml
vol-sheepdog.xml