[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:27:30 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit ce288463e2d73fa2367cb64b7f40c02a0dc188d6
Author: Török Edvin <edwin at clamav.net>
Date: Tue Mar 30 00:04:00 2010 +0300
Increase bytecode timeout for non-timeout tests.
diff --git a/unit_tests/check_bytecode.c b/unit_tests/check_bytecode.c
index 6bda4f3..a8f7cbf 100644
--- a/unit_tests/check_bytecode.c
+++ b/unit_tests/check_bytecode.c
@@ -83,7 +83,7 @@ static void runtest(const char *file, uint64_t expected, int fail, int nojit,
ctx = cli_bytecode_context_alloc();
/* small timeout, these bytecodes are fast! */
- ctx->bytecode_timeout = 100;
+ ctx->bytecode_timeout = fail == CL_ETIMEOUT ? 10 : 3000;
fail_unless(!!ctx, "cli_bytecode_context_alloc failed");
if (infile) {
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list