diff options
| author | Ton Voon <tonvoon@users.sourceforge.net> | 2007-02-07 14:46:50 +0000 |
|---|---|---|
| committer | Ton Voon <tonvoon@users.sourceforge.net> | 2007-02-07 14:46:50 +0000 |
| commit | 88ff55667012171c688471eaa84d16311018ec9c (patch) | |
| tree | eb9dffa003f14fceed03241128e7872398559865 /lib/tests/config-tiny.ini | |
| parent | c391272975965ded901818c73abc492e1e354acb (diff) | |
| download | monitoring-plugins-88ff55667012171c688471eaa84d16311018ec9c.tar.gz | |
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
Diffstat (limited to 'lib/tests/config-tiny.ini')
| -rw-r--r-- | lib/tests/config-tiny.ini | 24 |
1 files changed, 24 insertions, 0 deletions
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 @@ | |||
| 1 | # This config file is amended from perl's Config::Tiny's testcases | ||
| 2 | |||
| 3 | # Line below is allowed in perl's Config::Tiny, but not in our parse_ini.c | ||
| 4 | #root=something | ||
| 5 | |||
| 6 | [section] | ||
| 7 | one=two | ||
| 8 | Foo=Bar | ||
| 9 | this=Your Mother! | ||
| 10 | blank= | ||
| 11 | |||
| 12 | [Section Two] | ||
| 13 | something else=blah | ||
| 14 | remove = whitespace | ||
| 15 | |||
| 16 | [ /path/to/file.txt ] | ||
| 17 | this=that | ||
| 18 | |||
| 19 | [ section2] | ||
| 20 | this=that | ||
| 21 | |||
| 22 | [section3 ] | ||
| 23 | this=that | ||
| 24 | |||
