summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a7ff5e)
raw | patch | inline | side by side (parent: 4a7ff5e)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 17 Mar 2008 23:08:21 +0000 (23:08 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 17 Mar 2008 23:08:21 +0000 (23:08 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1953 f882894a-f735-0410-b71e-b25c423dba1c
plugins/t/check_nagios.t | patch | blob | history |
index bdb444f499726d42282c286ec6ba6513c6301a34..d5d48465e0bef979cb33b1008aa9c5be43aa74ef 100644 (file)
--- a/plugins/t/check_nagios.t
+++ b/plugins/t/check_nagios.t
#
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: /';