summaryrefslogtreecommitdiff
path: root/test/main.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-10-10 21:31:04 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-10-10 21:31:04 +0200
commit9bb2448da92f476eb82cc0d70c712d9f3abf06ac (patch)
treee52f059dc7f58f3ec047bbc2949055a2f1f19217 /test/main.c
parent399dc2bc0c07fbe904742a1f109142be70ab4a56 (diff)
test: enable TCP and TLS for ua registration test
Diffstat (limited to 'test/main.c')
-rw-r--r--test/main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/main.c b/test/main.c
index 29e8460..f10293a 100644
--- a/test/main.c
+++ b/test/main.c
@@ -70,7 +70,7 @@ int main(void)
str_ncpy(config->sip.local, "127.0.0.1:0", sizeof(config->sip.local));
/* XXX: needed for ua tests */
- err = ua_init("test", true, true, false, false);
+ err = ua_init("test", true, true, true, false);
if (err)
goto out;
@@ -79,10 +79,7 @@ int main(void)
goto out;
#if 1
- ua_stop_all(false);
- err = re_main_timeout(5);
- if (err)
- goto out;
+ ua_stop_all(true);
#endif
re_printf("\x1b[32mOK. %zu tests passed successfully\x1b[;m\n",