diff options
author | Armin Kuster <akuster808@gmail.com> | 2015-01-11 11:24:25 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2015-02-01 08:12:16 -0800 |
commit | 09e316367ad84ca8c1fa06b8a150a3c168c706a3 (patch) | |
tree | d98ca4d16bb8b5efc6d5b6d5afeb7d2b80afc391 /recipes-security/clamav/clamav-0.98.5/0003-unit_tests-increment-test-timeout-from-40secs-to-5mi.patch | |
parent | 5303fcfcb6e3068ab230318080740f3b97eb6dc9 (diff) | |
download | meta-security-09e316367ad84ca8c1fa06b8a150a3c168c706a3.tar.gz |
clamav: updated reciped
added packaged define and init scripts.
patches are all debian
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/clamav/clamav-0.98.5/0003-unit_tests-increment-test-timeout-from-40secs-to-5mi.patch')
-rw-r--r-- | recipes-security/clamav/clamav-0.98.5/0003-unit_tests-increment-test-timeout-from-40secs-to-5mi.patch | 30 |
1 files changed, 30 insertions, 0 deletions
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 @@ | |||
1 | From d5febd3fab63a6dc4af148ab1b94fe8a85412b46 Mon Sep 17 00:00:00 2001 | ||
2 | From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | ||
3 | Date: Fri, 25 Apr 2014 22:06:23 +0200 | ||
4 | Subject: unit_tests: increment test-timeout from 40secs to 5mins | ||
5 | |||
6 | I see now and then that tests on the slower archs (arm*, mips) fail due to | ||
7 | the timeout restriction. Often a second build even on the same buildd | ||
8 | succeeds. I think that the buildd is either close to the limit or has | ||
9 | something else (another sbuild running) going so it does not finish the | ||
10 | test in 40secs. | ||
11 | Therefore I raise the bar to a 5 minutes limit. The worst thing that can | ||
12 | happen is, that it takes more than 4 minutes before an enless loop will | ||
13 | be detected. | ||
14 | |||
15 | Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | ||
16 | --- | ||
17 | unit_tests/preload_run.sh | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/unit_tests/preload_run.sh b/unit_tests/preload_run.sh | ||
21 | index 8b8c8e3954dd..365b3a8e0edb 100755 | ||
22 | --- a/unit_tests/preload_run.sh | ||
23 | +++ b/unit_tests/preload_run.sh | ||
24 | @@ -5,5 +5,5 @@ | ||
25 | ulimit -c 0 || true | ||
26 | LD_PRELOAD=$LIBPRELOAD | ||
27 | export LD_PRELOAD | ||
28 | -export CK_DEFAULT_TIMEOUT=40 | ||
29 | +export CK_DEFAULT_TIMEOUT=300 | ||
30 | exec $@ | ||