diff options
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, 0 insertions, 30 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 deleted file mode 100644 index 3251278..0000000 --- a/recipes-security/clamav/clamav-0.98.5/0003-unit_tests-increment-test-timeout-from-40secs-to-5mi.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
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 $@ | ||