[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

Török Edvin edwin at clamav.net
Sun Apr 4 00:59:21 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit e53ef4464bc4cb9436a8c5385e6fbeb65b5e8d84
Author: Török Edvin <edwin at clamav.net>
Date:   Fri Jul 31 15:29:24 2009 +0300

    Fix unit-test failure on Solaris.

diff --git a/ChangeLog b/ChangeLog
index 1ed40ce..52bd38c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jul 31 15:29:36 EEST 2009 (edwin)
+-------------------------------------
+ * unit_tests/check_regex.c: fix unit-test failure on Solaris
+
 Fri Jul 31 12:52:08 CEST 2009 (acab)
 ------------------------------------
  * libclamav/pe.c: fix check for pe32+
diff --git a/unit_tests/check_htmlnorm.c b/unit_tests/check_htmlnorm.c
index 341d73e..613998c 100644
--- a/unit_tests/check_htmlnorm.c
+++ b/unit_tests/check_htmlnorm.c
@@ -39,7 +39,8 @@ static void htmlnorm_setup(void)
 static void htmlnorm_teardown(void)
 {
 	dconf_teardown();
-	fail_unless(cli_rmdirs(dir) == 0, "rmdirs failed");
+	/* can't call fail() functions in teardown, it can cause SEGV */
+	cli_rmdirs(dir);
 	free(dir);
 	dir = NULL;
 }

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list