From 88ff55667012171c688471eaa84d16311018ec9c Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 7 Feb 2007 14:46:50 +0000 Subject: Added test files to test the parse_ini.c routines. Requires libtap git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1614 f882894a-f735-0410-b71e-b25c423dba1c --- lib/tests/config-tiny.ini | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lib/tests/config-tiny.ini (limited to 'lib/tests/config-tiny.ini') diff --git a/lib/tests/config-tiny.ini b/lib/tests/config-tiny.ini new file mode 100644 index 00000000..60f3dad4 --- /dev/null +++ b/lib/tests/config-tiny.ini @@ -0,0 +1,24 @@ +# This config file is amended from perl's Config::Tiny's testcases + +# Line below is allowed in perl's Config::Tiny, but not in our parse_ini.c +#root=something + +[section] +one=two +Foo=Bar +this=Your Mother! +blank= + +[Section Two] +something else=blah + remove = whitespace + +[ /path/to/file.txt ] +this=that + +[ section2] +this=that + +[section3 ] +this=that + -- cgit v1.2.3-74-g34f1