|
@@ -6,9 +6,15 @@
|
|
|
#
|
|
#
|
|
|
|
|
|
|
|
use strict;
|
|
use strict;
|
|
|
-use Test::More tests => 13;
|
|
|
|
|
|
|
+use Test::More;
|
|
|
use NPTest;
|
|
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 $successOutput = '/^NAGIOS OK: /';
|
|
|
my $warningOutput = '/^NAGIOS WARNING: /';
|
|
my $warningOutput = '/^NAGIOS WARNING: /';
|
|
|
my $failureOutput = '/^NAGIOS CRITICAL: /';
|
|
my $failureOutput = '/^NAGIOS CRITICAL: /';
|