[Nagiosplug-checkins] SF.net SVN: nagiosplug: [1953] nagiosplug/trunk/plugins/t/check_nagios.t
tonvoon at users.sourceforge.net
tonvoon at users.sourceforge.net
Tue Mar 18 00:08:21 CET 2008
Revision: 1953
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1953&view=rev
Author: tonvoon
Date: 2008-03-17 16:08:21 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
Don't run check_nagios tests on Solaris, because of pst3 requirement
Modified Paths:
--------------
nagiosplug/trunk/plugins/t/check_nagios.t
Modified: nagiosplug/trunk/plugins/t/check_nagios.t
===================================================================
--- nagiosplug/trunk/plugins/t/check_nagios.t 2008-03-17 20:32:11 UTC (rev 1952)
+++ nagiosplug/trunk/plugins/t/check_nagios.t 2008-03-17 23:08:21 UTC (rev 1953)
@@ -6,9 +6,15 @@
#
use strict;
-use Test::More tests => 13;
+use Test::More;
use NPTest;
+if (`uname -s` eq "SunOS\n") {
+ plan skip_all => "Ignoring tests on solaris because of pst3";
+} else {
+ plan tests => 13;
+}
+
my $successOutput = '/^NAGIOS OK: /';
my $warningOutput = '/^NAGIOS WARNING: /';
my $failureOutput = '/^NAGIOS CRITICAL: /';
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