Added test for static config opts

This commit is contained in:
Sergey Lyubka 2014-01-13 21:08:03 +00:00
parent 53311e8d6b
commit bf6fc3262f

View File

@ -448,6 +448,8 @@ static const char *test_server(void) {
// TODO(lsm): come up with a better way of thread sync
sleep(1);
ASSERT(strcmp(static_config_options[URL_REWRITES * 2], "url_rewrites") == 0);
mg_destroy_server(&server);
ASSERT(server == NULL);
return NULL;