[libvirt] [PATCH 2/3] Allow the iohelper path to be customized by test programs

Eric Blake eblake at redhat.com
Fri May 10 17:27:59 UTC 2013


On 05/10/2013 11:17 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Currently the fdstream function hardcodes the location
> of the iohelper to LIBEXECDIR "/libvirt_iohelper". This
> is not convenient when trying to write test cases which
> use this code. Add a virFDStreamSetIOHelper method to
> allow the test cases to point to the location of the
> un-installed iohelper binary.

Nice.  Definitely shaves the need for a round trip 'make install' when
testing changes.

-- 
Eric Blake   eblake 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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130510/20141608/attachment-0001.sig>


More information about the libvir-list mailing list