From 78ea33b3f00d91b7995d9dd543c4620c777c956b Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sun, 8 Feb 2015 17:34:49 -0500 Subject: Fixed test. --- auto_tests/encryptsave_test.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'auto_tests/encryptsave_test.c') 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) test = tox_get_client_id(tox4, 0, address5); ck_assert_msg(test == 0, "no friends! the third"); ck_assert_msg(memcmp(address, address2, TOX_CLIENT_ID_SIZE) == 0, "addresses don't match! the third"); + + tox_kill(tox1); + tox_kill(tox2); + tox_kill(tox3); + tox_kill(tox4); + tox_kill(tox5); } END_TEST @@ -160,8 +166,8 @@ Suite *encryptsave_suite(void) Suite *s = suite_create("encryptsave"); DEFTESTCASE_SLOW(known_kdf, 60); /* is 5-10 seconds on my computer, but is directly dependent on CPU */ - DEFTESTCASE(save_friend); - DEFTESTCASE(keys); + DEFTESTCASE_SLOW(save_friend, 20); + DEFTESTCASE_SLOW(keys, 30); return s; } -- cgit v1.2.3