summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/t/check_nagios.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/t/check_nagios.t b/plugins/t/check_nagios.t
index bdb444f..d5d4846 100644
--- a/plugins/t/check_nagios.t
+++ b/plugins/t/check_nagios.t
@@ -6,9 +6,15 @@
6# 6#
7 7
8use strict; 8use strict;
9use Test::More tests => 13; 9use Test::More;
10use NPTest; 10use NPTest;
11 11
12if (`uname -s` eq "SunOS\n") {
13 plan skip_all => "Ignoring tests on solaris because of pst3";
14} else {
15 plan tests => 13;
16}
17
12my $successOutput = '/^NAGIOS OK: /'; 18my $successOutput = '/^NAGIOS OK: /';
13my $warningOutput = '/^NAGIOS WARNING: /'; 19my $warningOutput = '/^NAGIOS WARNING: /';
14my $failureOutput = '/^NAGIOS CRITICAL: /'; 20my $failureOutput = '/^NAGIOS CRITICAL: /';