[libvirt] pointless time-consuming test 'virsh-all'

Eric Blake eblake at redhat.com
Thu Jun 7 03:32:08 UTC 2012


The command 'make -C tests check' takes forever, because it is calling
this lengthy virsh command and ignoring the failures:

$ time tools/virsh -c test:///default connect
error: Failed to connect to the hypervisor
error: Failed to connect socket to
'/run/user/eblake/libvirt/libvirt-sock': No such file or directory


real	0m21.070s
user	0m0.027s
sys	0m0.036s

The test looks quite broken - ALL it is currently doing is wasting 21
seconds on this one iteration, because it ignores output and exit status
(what else _is_ there, besides effects to the file system)?

Any volunteers to clean this test up into something that actually does
something useful?

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120606/332b1df4/attachment-0001.sig>


More information about the libvir-list mailing list