SF.net SVN: nagiosplug: [1953] nagiosplug/trunk/plugins/t/check_nagios.t

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
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.