[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2168] nagiosplug/trunk/plugins/t/check_procs.t

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Tue Mar 17 07:57:25 CET 2009


Revision: 2168
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2168&view=rev
Author:   dermoth
Date:     2009-03-17 06:57:24 +0000 (Tue, 17 Mar 2009)

Log Message:
-----------
Check for existence of pre-instaleld pst3 for Solaris tests in t/check_procs.t

From: Thomas Guyot-Sionnest <dermoth at solaris.beaubien.net>

Modified Paths:
--------------
    nagiosplug/trunk/plugins/t/check_procs.t

Modified: nagiosplug/trunk/plugins/t/check_procs.t
===================================================================
--- nagiosplug/trunk/plugins/t/check_procs.t	2009-03-17 05:55:13 UTC (rev 2167)
+++ nagiosplug/trunk/plugins/t/check_procs.t	2009-03-17 06:57:24 UTC (rev 2168)
@@ -10,7 +10,7 @@
 
 my $t;
 
-if (`uname -s` eq "SunOS\n") {
+if (`uname -s` eq "SunOS\n" && ! -x "/usr/local/nagios/libexec/pst3") {
 	plan skip_all => "Ignoring tests on solaris because of pst3";
 } else {
 	plan tests => 12;


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