summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_ini3.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-23 07:39:45 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-23 07:43:59 (GMT)
commit8b103c0c778aa22dbe7688e7d11df20b7c80be70 (patch)
treede74e84102e6f693560b301971bb2b6ee1d05a98 /lib/tests/test_ini3.c
parent485f306868fa9c89b4f09e3b2b813d93ec64f0b4 (diff)
downloadmonitoring-plugins-8b103c0c778aa22dbe7688e7d11df20b7c80be70.tar.gz
Add die tests for parse_ini
Diffstat (limited to 'lib/tests/test_ini3.c')
-rw-r--r--lib/tests/test_ini3.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/tests/test_ini3.c b/lib/tests/test_ini3.c
new file mode 100644
index 0000000..814b3ec
--- /dev/null
+++ b/lib/tests/test_ini3.c
@@ -0,0 +1,33 @@
1/*****************************************************************************
2*
3* This program is free software: you can redistribute it and/or modify
4* it under the terms of the GNU General Public License as published by
5* the Free Software Foundation, either version 3 of the License, or
6* (at your option) any later version.
7*
8* This program is distributed in the hope that it will be useful,
9* but WITHOUT ANY WARRANTY; without even the implied warranty of
10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11* GNU General Public License for more details.
12*
13* You should have received a copy of the GNU General Public License
14* along with this program. If not, see <http://www.gnu.org/licenses/>.
15*
16*
17*****************************************************************************/
18
19#include "parse_ini.h"
20
21int
22main (int argc, char **argv)
23{
24
25 /*
26 * This is for testing arguments expected to die.
27 */
28
29 np_get_defaults(argv[1], argv[0]);
30
31 return 0;
32}
33