From: Tobias Brunner Date: Thu, 27 Jun 2013 08:41:34 +0000 (+0200) Subject: unit-tests: RSA key generation might take longer than 4 seconds X-Git-Tag: 5.1.0dr1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6357a62b48ad809450856dad2697fe97bd70e45;p=thirdparty%2Fstrongswan.git unit-tests: RSA key generation might take longer than 4 seconds Check uses a default timeout of 4 seconds for each test case, generating keys of 6 different key sizes might take longer than that. --- diff --git a/src/libstrongswan/tests/test_rsa.c b/src/libstrongswan/tests/test_rsa.c index 74027a988c..4c75c34bcc 100644 --- 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");