]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
tests: skip virstoragetest on RHEL 5
authorEric Blake <eblake@redhat.com>
Tue, 26 Feb 2013 19:45:38 +0000 (12:45 -0700)
committerEric Blake <eblake@redhat.com>
Tue, 26 Feb 2013 19:53:36 +0000 (12:53 -0700)
commit9194679e10d421faebf1d031f2f379ceff3bec0d
treee3d3de0f977eaaead2a76a574a2cf6139be99846
parent01207bb7033159949b984e8d699e947e4fb529bd
tests: skip virstoragetest on RHEL 5

virstoragetest was failing on RHEL 5, but with no good error message:

TEST: virstoragetest
                                        0   FAIL

It turns out that qemu-img was so old, that it lacked support for
-o backing_file.  It didn't help that the test was also using
qemu-img from PATH, even after first probing for kvm-img.

* tests/virstoragetest.c (testPrepImages): Consistently use
discovered binary.  Skip instead of fail if qemu-img fails during
setup.
tests/virstoragetest.c