[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2142] nagiosplug/trunk/lib/tests

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Sat Jan 24 06:42:31 CET 2009


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 <dermoth at aei.ca>

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.




More information about the Commits mailing list