]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Partly fix networkxml2argvtest being configure result dependent
authorMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 27 Jun 2011 14:55:13 +0000 (16:55 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 27 Jun 2011 15:22:25 +0000 (17:22 +0200)
commit072ea80ff2480c64906e2b8f1f97ff3dc562e7bc
tree331347d18d3e1d19313b510e056dc52bb2b31157
parent79306739db56cc1864e9a3b3163b4af8bdbcf7ac
tests: Partly fix networkxml2argvtest being configure result dependent

Convert networkDnsmasqLeaseFileName to a replaceable function pointer
that allow the testsuite to use a version of that function that is not
depending on configure --localstatedir.

This fixes 5 of 6 test failures, when configure --localstatedir isn't
set to /var.
src/network/bridge_driver.c
src/network/bridge_driver.h
tests/networkxml2argvtest.c