From 09e316367ad84ca8c1fa06b8a150a3c168c706a3 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sun, 11 Jan 2015 11:24:25 -0800 Subject: clamav: updated reciped added packaged define and init scripts. patches are all debian Signed-off-by: Armin Kuster --- ...increment-test-timeout-from-40secs-to-5mi.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 recipes-security/clamav/clamav-0.98.5/0003-unit_tests-increment-test-timeout-from-40secs-to-5mi.patch (limited to 'recipes-security/clamav/clamav-0.98.5/0003-unit_tests-increment-test-timeout-from-40secs-to-5mi.patch') diff --git a/recipes-security/clamav/clamav-0.98.5/0003-unit_tests-increment-test-timeout-from-40secs-to-5mi.patch b/recipes-security/clamav/clamav-0.98.5/0003-unit_tests-increment-test-timeout-from-40secs-to-5mi.patch new file mode 100644 index 0000000..3251278 --- /dev/null +++ b/recipes-security/clamav/clamav-0.98.5/0003-unit_tests-increment-test-timeout-from-40secs-to-5mi.patch @@ -0,0 +1,30 @@ +From d5febd3fab63a6dc4af148ab1b94fe8a85412b46 Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior +Date: Fri, 25 Apr 2014 22:06:23 +0200 +Subject: unit_tests: increment test-timeout from 40secs to 5mins + +I see now and then that tests on the slower archs (arm*, mips) fail due to +the timeout restriction. Often a second build even on the same buildd +succeeds. I think that the buildd is either close to the limit or has +something else (another sbuild running) going so it does not finish the +test in 40secs. +Therefore I raise the bar to a 5 minutes limit. The worst thing that can +happen is, that it takes more than 4 minutes before an enless loop will +be detected. + +Signed-off-by: Sebastian Andrzej Siewior +--- + unit_tests/preload_run.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/unit_tests/preload_run.sh b/unit_tests/preload_run.sh +index 8b8c8e3954dd..365b3a8e0edb 100755 +--- a/unit_tests/preload_run.sh ++++ b/unit_tests/preload_run.sh +@@ -5,5 +5,5 @@ + ulimit -c 0 || true + LD_PRELOAD=$LIBPRELOAD + export LD_PRELOAD +-export CK_DEFAULT_TIMEOUT=40 ++export CK_DEFAULT_TIMEOUT=300 + exec $@ -- cgit v1.2.3-54-g00ecf