[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 01:21:18 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit 8ef83e0bfcbc171cf9252c355e6242da1ef4d71c
Author: Török Edvin <edwin at clamav.net>
Date: Mon Feb 22 17:59:32 2010 +0200
Fix unit test: ctx.fmap can't be NULL.
diff --git a/unit_tests/check_matchers.c b/unit_tests/check_matchers.c
index 700355c..4ccef21 100644
--- a/unit_tests/check_matchers.c
+++ b/unit_tests/check_matchers.c
@@ -56,12 +56,15 @@ static const struct ac_testdata_s {
static cli_ctx ctx;
+static fmap_t *thefmap = NULL;
static const char *virname = NULL;
static void setup(void)
{
struct cli_matcher *root;
virname = NULL;
+ thefmap = NULL;
ctx.virname = &virname;
+ ctx.fmap = &thefmap;
ctx.engine = cl_engine_new();
fail_unless(!!ctx.engine, "cl_engine_new() failed");
root = (struct cli_matcher *) mpool_calloc(ctx.engine->mempool, 1, sizeof(struct cli_matcher));
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list