Commit bf6fc326 authored by Sergey Lyubka's avatar Sergey Lyubka

Added test for static config opts

parent 53311e8d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment