[libvirt] [PATCH] tests: unlink libxl-driver.log

Daniel P. Berrangé berrange at redhat.com
Thu May 3 13:32:09 UTC 2018


The libxlxml2domconfigtest causes a libxl-driver.log file to be created
which breaks make distchck if libxl is enabled. Delete the log file at
the end of the test.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---

Pushed as a build fix for make distcheck

 tests/libxlxml2domconfigtest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/libxlxml2domconfigtest.c b/tests/libxlxml2domconfigtest.c
index d9287b59a8..0d2a7385e5 100644
--- a/tests/libxlxml2domconfigtest.c
+++ b/tests/libxlxml2domconfigtest.c
@@ -211,6 +211,8 @@ mymain(void)
     DO_TEST("multiple-ip");
     DO_TEST("fullvirt-cpuid");
 
+    unlink("libxl-driver.log");
+
     return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
 }
 
-- 
2.14.3




More information about the libvir-list mailing list