mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-12 16:50:21 +00:00
Added test for static config opts
This commit is contained in:
1 parent
53311e8d6b
commit
bf6fc3262f
1 file changed
+2
@@ -448,6 +448,8 @@ static const char *test_server(void) {
|
|||||||
// TODO(lsm): come up with a better way of thread sync
|
// TODO(lsm): come up with a better way of thread sync
|
||||||
sleep(1);
|
sleep(1);
|
||||||
|
|
||||||
|
ASSERT(strcmp(static_config_options[URL_REWRITES * 2], "url_rewrites") == 0);
|
||||||
|
|
||||||
mg_destroy_server(&server);
|
mg_destroy_server(&server);
|
||||||
ASSERT(server == NULL);
|
ASSERT(server == NULL);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in new issue
Block a user