Revision: 2142
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2142&view=rev
Author: dermoth
Date: 2009-01-24 05:42:30 +0000 (Sat, 24 Jan 2009)
Log Message:
-----------
Fix paths in test_ini tests
From: Thomas Guyot-Sionnest <[email protected]>
Modified Paths:
--------------
nagiosplug/trunk/lib/tests/test_ini1.t
nagiosplug/trunk/lib/tests/test_ini3.t
Modified: nagiosplug/trunk/lib/tests/test_ini1.t
===================================================================
--- nagiosplug/trunk/lib/tests/test_ini1.t 2009-01-23 07:47:35 UTC (rev 2141)
+++ nagiosplug/trunk/lib/tests/test_ini1.t 2009-01-24 05:42:30 UTC (rev 2142)
@@ -1,6 +1,6 @@
#!/usr/bin/perl
use Test::More;
-if (! -e "./test_ini") {
+if (! -e "./test_ini1") {
plan skip_all => "./test_ini not compiled - please install tap library and/or enable parse-ini to test";
}
-exec "./test_ini";
+exec "./test_ini1";
Modified: nagiosplug/trunk/lib/tests/test_ini3.t
===================================================================
--- nagiosplug/trunk/lib/tests/test_ini3.t 2009-01-23 07:47:35 UTC (rev 2141)
+++ nagiosplug/trunk/lib/tests/test_ini3.t 2009-01-24 05:42:30 UTC (rev 2142)
@@ -3,7 +3,7 @@
use strict;
use warnings;
-if (! -e "./test_ini") {
+if (! -e "./test_ini3") {
plan skip_all => "./test_ini not compiled - please install tap library and/or enable parse-ini to test";
}
@@ -28,7 +28,7 @@
} else {
delete($ENV{"NAGIOS_CONFIG_PATH"});
}
- system {'./test_ini2'} @$args;
+ system {'./test_ini3'} @$args;
cmp_ok($?>>8, '==', $rc, "Parse-ini die " . $count++);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.