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