libvirt/tests/storagevolxml2argvdata
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
..
iso-input.argv
iso.argv
logical-from-qcow2.argv
luks-cipher.argv tests: Add luks creation examples to storagevolxml2argvtest 2018-06-26 14:02:43 -04:00
luks-convert-encrypt2fileqcow2.argv storage: Allow inputvol to be encrypted 2018-09-12 07:24:04 -04:00
luks-convert-encrypt2fileraw.argv storage: Allow inputvol to be encrypted 2018-09-12 07:24:04 -04:00
luks-convert-encrypt.argv storage: Allow inputvol to be encrypted 2018-09-12 07:24:04 -04:00
luks-convert-qcow2.argv storage: Allow for inputvol to have any format for encryption 2018-09-12 07:24:04 -04:00
luks-convert.argv storage: Add support for using inputvol for encryption 2018-06-26 14:02:43 -04:00
luks.argv tests: Add luks creation examples to storagevolxml2argvtest 2018-06-26 14:02:43 -04:00
qcow2-1.1.argv tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
qcow2-compat.argv tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
qcow2-from-logical-compat.argv tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
qcow2-lazy.argv tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
qcow2-nobacking-convert-prealloc-compat.argv tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
qcow2-nobacking-prealloc-compat.argv tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
qcow2-nocapacity-convert-prealloc.argv tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
qcow2-nocapacity.argv tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
qcow2-nocow-compat.argv tests: Remove qcow2 encryption from storagevol tests 2018-06-26 14:02:43 -04:00
qcow2-nocow.argv
qcow2-zerocapacity.argv util: require command args to be non-NULL 2018-12-17 14:43:33 +00:00