summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/tests/test_ini1.t4
-rwxr-xr-xlib/tests/test_ini3.t4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/tests/test_ini1.t b/lib/tests/test_ini1.t
index 0487098..d481011 100755
--- a/lib/tests/test_ini1.t
+++ b/lib/tests/test_ini1.t
@@ -1,6 +1,6 @@
1#!/usr/bin/perl 1#!/usr/bin/perl
2use Test::More; 2use Test::More;
3if (! -e "./test_ini") { 3if (! -e "./test_ini1") {
4 plan skip_all => "./test_ini not compiled - please install tap library and/or enable parse-ini to test"; 4 plan skip_all => "./test_ini not compiled - please install tap library and/or enable parse-ini to test";
5} 5}
6exec "./test_ini"; 6exec "./test_ini1";
diff --git a/lib/tests/test_ini3.t b/lib/tests/test_ini3.t
index 57388dd..4b0be4c 100755
--- a/lib/tests/test_ini3.t
+++ b/lib/tests/test_ini3.t
@@ -3,7 +3,7 @@ use Test::More;
3use strict; 3use strict;
4use warnings; 4use warnings;
5 5
6if (! -e "./test_ini") { 6if (! -e "./test_ini3") {
7 plan skip_all => "./test_ini not compiled - please install tap library and/or enable parse-ini to test"; 7 plan skip_all => "./test_ini not compiled - please install tap library and/or enable parse-ini to test";
8} 8}
9 9
@@ -28,7 +28,7 @@ foreach my $args (@TESTS) {
28 } else { 28 } else {
29 delete($ENV{"NAGIOS_CONFIG_PATH"}); 29 delete($ENV{"NAGIOS_CONFIG_PATH"});
30 } 30 }
31 system {'./test_ini2'} @$args; 31 system {'./test_ini3'} @$args;
32 cmp_ok($?>>8, '==', $rc, "Parse-ini die " . $count++); 32 cmp_ok($?>>8, '==', $rc, "Parse-ini die " . $count++);
33} 33}
34 34