summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_ini1.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/test_ini1.c')
-rw-r--r--lib/tests/test_ini1.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/tests/test_ini1.c b/lib/tests/test_ini1.c
index c0853d7..77f8854 100644
--- a/lib/tests/test_ini1.c
+++ b/lib/tests/test_ini1.c
@@ -64,14 +64,6 @@ main (int argc, char **argv)
64 ok( !strcmp(optstr, "--one=two --Foo=Bar --this=Your Mother! --blank"), "Used default section name, without specific"); 64 ok( !strcmp(optstr, "--one=two --Foo=Bar --this=Your Mother! --blank"), "Used default section name, without specific");
65 my_free(optstr); 65 my_free(optstr);
66 66
67 /*
68 * This check is expected to die - It's commented so we can eventually put
69 * it in a separate file for testing the return value
70 */
71 /* optstr=list2str(np_get_defaults("section_unknown@./config-tiny.ini", "section"));
72 ok( 0, "die if section isn't found");
73 my_free(optstr); */
74
75 optstr=list2str(np_get_defaults("Section Two@./config-tiny.ini", "check_disk")); 67 optstr=list2str(np_get_defaults("Section Two@./config-tiny.ini", "check_disk"));
76 ok( !strcmp(optstr, "--something else=blah --remove=whitespace"), "config-tiny.ini's Section Two as expected"); 68 ok( !strcmp(optstr, "--something else=blah --remove=whitespace"), "config-tiny.ini's Section Two as expected");
77 my_free(optstr); 69 my_free(optstr);