monitoring-plugins/lib/tests/test_ini.t
Thomas Guyot-Sionnest 6004d95868 This commit consist of two changes:
1. Make np_get_defaults return a linked list instead of a string. It will then be easy to convert the linked list back to an argument array.
2. Fix tests 3-4 of test_ini.c.

A test_ini.t was added too. parse_ini and test_ini aren't included yet in the build makefiles.


git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1945 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-15 04:51:45 +00:00

6 lines
160 B
Perl
Executable file

#!/usr/bin/perl
use Test::More;
if (! -e "./test_ini") {
plan skip_all => "./test_ini not compiled - please install tap library to test";
}
exec "./test_ini";