mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-03-26 04:15:54 -04:00
Don't run check_nagios tests on Solaris, because of pst3 requirement
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1953 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
4a7ff5e952
commit
c0cf08d5fc
1 changed files with 7 additions and 1 deletions
|
|
@ -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: /';
|
||||
|
|
|
|||
Loading…
Reference in a new issue