summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_ini1.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-24 12:41:45 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-24 12:41:45 (GMT)
commit0a74b6fda08c484cba7216596d2ffa3931b900e5 (patch)
tree766234822874597f1d39416a231f196f15a160bf /lib/tests/test_ini1.c
parent1b1dc7a48b7072aa9ba3a6c93e76d07f7c12d31f (diff)
downloadmonitoring-plugins-0a74b6fda08c484cba7216596d2ffa3931b900e5.tar.gz
Remove the commented out blocks
The die tests are implemented in the test_*3.t files
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);