diff options
Diffstat (limited to 'plugins/t/check_nagios.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 @@ # 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: /'; |