summaryrefslogtreecommitdiff
path: root/auto_tests/encryptsave_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'auto_tests/encryptsave_test.c')
-rw-r--r--auto_tests/encryptsave_test.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/auto_tests/encryptsave_test.c b/auto_tests/encryptsave_test.c
index aa5bef3f..338c9ef1 100644
--- a/auto_tests/encryptsave_test.c
+++ b/auto_tests/encryptsave_test.c
@@ -114,6 +114,12 @@ START_TEST(test_save_friend)
114 test = tox_get_client_id(tox4, 0, address5); 114 test = tox_get_client_id(tox4, 0, address5);
115 ck_assert_msg(test == 0, "no friends! the third"); 115 ck_assert_msg(test == 0, "no friends! the third");
116 ck_assert_msg(memcmp(address, address2, TOX_CLIENT_ID_SIZE) == 0, "addresses don't match! the third"); 116 ck_assert_msg(memcmp(address, address2, TOX_CLIENT_ID_SIZE) == 0, "addresses don't match! the third");
117
118 tox_kill(tox1);
119 tox_kill(tox2);
120 tox_kill(tox3);
121 tox_kill(tox4);
122 tox_kill(tox5);
117} 123}
118END_TEST 124END_TEST
119 125
@@ -160,8 +166,8 @@ Suite *encryptsave_suite(void)
160 Suite *s = suite_create("encryptsave"); 166 Suite *s = suite_create("encryptsave");
161 167
162 DEFTESTCASE_SLOW(known_kdf, 60); /* is 5-10 seconds on my computer, but is directly dependent on CPU */ 168 DEFTESTCASE_SLOW(known_kdf, 60); /* is 5-10 seconds on my computer, but is directly dependent on CPU */
163 DEFTESTCASE(save_friend); 169 DEFTESTCASE_SLOW(save_friend, 20);
164 DEFTESTCASE(keys); 170 DEFTESTCASE_SLOW(keys, 30);
165 171
166 return s; 172 return s;
167} 173}