summaryrefslogtreecommitdiffstats
path: root/recipes-security/clamav/clamav-0.98.5/0003-unit_tests-increment-test-timeout-from-40secs-to-5mi.patch
diff options
context:
space:
mode:
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.patch30
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 @@
1From d5febd3fab63a6dc4af148ab1b94fe8a85412b46 Mon Sep 17 00:00:00 2001
2From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
3Date: Fri, 25 Apr 2014 22:06:23 +0200
4Subject: unit_tests: increment test-timeout from 40secs to 5mins
5
6I see now and then that tests on the slower archs (arm*, mips) fail due to
7the timeout restriction. Often a second build even on the same buildd
8succeeds. I think that the buildd is either close to the limit or has
9something else (another sbuild running) going so it does not finish the
10test in 40secs.
11Therefore I raise the bar to a 5 minutes limit. The worst thing that can
12happen is, that it takes more than 4 minutes before an enless loop will
13be detected.
14
15Signed-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
20diff --git a/unit_tests/preload_run.sh b/unit_tests/preload_run.sh
21index 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 $@