]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: unlink libxl-driver.log
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 3 May 2018 13:26:08 +0000 (14:26 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 3 May 2018 13:26:08 +0000 (14:26 +0100)
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@redhat.com>
tests/libxlxml2domconfigtest.c

index d9287b59a81100d8b37846b012c5f015218e0dba..0d2a7385e574a48efe23acdfe8be9af3a806df84 100644 (file)
@@ -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;
 }