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 storage: Allow inputvol to be encrypted 2018-09-12 07:24:04 -04:00
vol-encrypt2.xml storage: Allow inputvol to be encrypted 2018-09-12 07:24:04 -04:00
vol-file-backing.xml storage: allow interleave in volume XML 2013-11-25 07:51:14 -07:00
vol-file-iso.xml tests: Add storagevol tests for format=iso 2017-03-08 13:22:33 -05:00
vol-file-naming.xml storage: use valid XML for awkward volume names 2013-11-21 17:29:47 -07:00
vol-file-qcow2.xml storage: Allow for inputvol to have any format for encryption 2018-09-12 07:24:04 -04:00
vol-file.xml
vol-gluster-dir-neg-uid.xml storage: unify permission formatting 2014-12-16 15:47:56 +01:00
vol-gluster-dir.xml storage: improve directory support in gluster pool 2013-11-25 12:46:19 -07:00
vol-logical-backing.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-logical.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-luks-cipher.xml storage: remove "luks" storage volume type 2016-07-27 18:59:15 +01:00
vol-luks-convert.xml storage: Add support for using inputvol for encryption 2018-06-26 14:02:43 -04:00
vol-luks.xml storage: remove "luks" storage volume type 2016-07-27 18:59:15 +01:00
vol-partition.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00
vol-qcow2-0.10-lazy.xml tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
vol-qcow2-1.1.xml tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
vol-qcow2-encryption.xml storage: Disallow create/resize of qcow2 encrypted images 2018-06-26 14:02:43 -04:00
vol-qcow2-lazy.xml tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
vol-qcow2-nobacking.xml tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
vol-qcow2-nocapacity-backing.xml tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
vol-qcow2-nocapacity.xml tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
vol-qcow2-nocow.xml tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
vol-qcow2-zerocapacity.xml util: require command args to be non-NULL 2018-12-17 14:43:33 +00:00
vol-qcow2.xml tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
vol-sheepdog.xml storage: expose volume meta-type in XML 2013-11-25 10:55:19 -07:00