strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65d23c7
)
unit-tests: RSA key generation might take longer than 4 seconds
author
Tobias Brunner
<tobias@strongswan.org>
Thu, 27 Jun 2013 08:41:34 +0000
(10:41 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Thu, 27 Jun 2013 09:06:47 +0000
(11:06 +0200)
Check uses a default timeout of 4 seconds for each test case, generating
keys of 6 different key sizes might take longer than that.
src/libstrongswan/tests/test_rsa.c
patch
|
blob
|
history
diff --git
a/src/libstrongswan/tests/test_rsa.c
b/src/libstrongswan/tests/test_rsa.c
index
74027a9
..
4c75c34
100644
(file)
--- a/
src/libstrongswan/tests/test_rsa.c
+++ b/
src/libstrongswan/tests/test_rsa.c
@@
-382,6
+382,7
@@
Suite *rsa_suite_create()
tc = tcase_create("generate");
tcase_add_loop_test(tc, test_gen, 0, countof(key_sizes));
+ tcase_set_timeout(tc, 8);
suite_add_tcase(s, tc);
tc = tcase_create("load");