Re: [PATCH 2/7] Create a re-usable DBus LD_PRELOAD mock library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/12/2014 07:21 AM, Daniel P. Berrange wrote:
> A number of test suites want to mock the DBus APIs. To avoid
> re-inventing the wheel create a re-usable virmockdbus.la
> library for LD_PRELOAD usage.
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  tests/Makefile.am   | 11 +++++++--
>  tests/virmockdbus.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 73 insertions(+), 2 deletions(-)
>  create mode 100644 tests/virmockdbus.c
> 

> +++ b/tests/virmockdbus.c
> @@ -0,0 +1,64 @@
> +/*
> + * virmockdbus.c: mocking of dbus message send/reply
> + *
> + * Copyright (C) 2013 Red Hat, Inc.

It's 2014; you've been sitting on this work for a while :)

ACK.

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]