Skip to content
Snippets Groups Projects
Commit 82189f7a authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

config-parser: Add tests for expect behavuor on NULL configs and sections

parent 7732540f
No related branches found
No related tags found
No related merge requests found
......@@ -192,5 +192,11 @@ int main(int argc, char *argv[])
config = run_test(t4);
assert(config == NULL);
weston_config_destroy(NULL);
assert(weston_config_next_section(NULL, NULL, NULL) == 0);
section = weston_config_get_section(NULL, "bucket", NULL, NULL);
assert(section == NULL);
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment