summaryrefslogtreecommitdiff
path: root/test/main.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-06-19 23:56:19 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-06-19 23:56:19 +0200
commit599b548213b0f18b8b23050e894fabeea527e72b (patch)
tree30c2c225bcf9fec3d9b62680ab052855aea63cb7 /test/main.c
parent8ef4c56ae0a0d18ceb77a3e62629ac216cab8ebd (diff)
test: added testcase for SIP OPTIONS
Diffstat (limited to 'test/main.c')
-rw-r--r--test/main.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/main.c b/test/main.c
index db99328..061f8ff 100644
--- a/test/main.c
+++ b/test/main.c
@@ -29,6 +29,7 @@ static const struct test tests[] = {
TEST(test_mos),
TEST(test_network),
TEST(test_ua_alloc),
+ TEST(test_ua_options),
TEST(test_ua_register),
TEST(test_ua_register_dns),
TEST(test_ua_register_auth),
@@ -136,6 +137,7 @@ int main(int argc, char *argv[])
{
struct config *config;
size_t i, ntests;
+ bool verbose = false;
int err;
err = libre_init();
@@ -161,7 +163,11 @@ int main(int argc, char *argv[])
return 0;
case 'v':
- log_enable_info(true);
+ if (verbose)
+ log_enable_debug(true);
+ else
+ log_enable_info(true);
+ verbose = true;
break;
default: