]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Ensure LD_PRELOAD exists before running test case
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 28 Mar 2013 18:01:21 +0000 (18:01 +0000)
committerEric Blake <eblake@redhat.com>
Tue, 9 Apr 2013 20:00:52 +0000 (14:00 -0600)
commita243e21c220c38bbe954cd80d2f4695a6cf33bdd
tree7a02f3d0e59a8d815d1477c0c7fea8b880292c20
parentd6ee211328e404770162c1f729686f014d4d7981
Ensure LD_PRELOAD exists before running test case

The linker will ignore LD_PRELOAD libraries which do not
exist, just printing a warning message. This is not helpful
for the test suite which will be utterly fubar without the
preload library present. Add an explicit test for existence
of the library to protect against this

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit b1d3154a50e4303bf6f4f6c995a169820c8924fe)
tests/testutils.h