Fix unit-test failure on Solaris.

0.96
Török Edvin 17 years ago
parent 3d478af12a
commit e53ef4464b
  1. 4
      ChangeLog
  2. 3
      unit_tests/check_htmlnorm.c

@ -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+

@ -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;
}

Loading…
Cancel
Save