]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storagevolxml2argvtest: Report better error messages on test failure
authorPeter Krempa <pkrempa@redhat.com>
Wed, 5 Jun 2013 08:49:15 +0000 (10:49 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 5 Jun 2013 12:43:16 +0000 (14:43 +0200)
commitb922c3d51a5947085500cece433ef7b1bdabdeb8
tree0bcf33a3fec8ca473b745e6cc70d3514770b5c47
parent1add9c78da3d8a3ea048b229ab3f0153702ea106
storagevolxml2argvtest: Report better error messages on test failure

If the creation of the commandline failed, libvirt always reported "out
of memory" from the virCommandToString function rather than the proper
error that happened in virStorageBackendCreateQemuImgCmd. Error out
earlier.
tests/storagevolxml2argvtest.c