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

2014-03-13 Thread Eric Blake
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 berra...@redhat.com --- tests/Makefile.am | 11

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

2014-03-12 Thread Daniel P. Berrange
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 berra...@redhat.com --- tests/Makefile.am | 11 +++-- tests/virmockdbus.c | 64