diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2008-03-17 23:08:21 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2008-03-17 23:08:21 +0000 |
commit | c0cf08d5fc319fa3bc9f5513e96059fef159a2cb (patch) | |
tree | a578ae6fc1e30c00407a4e1d38797367584d0f0b /plugins/t | |
parent | 4a7ff5e95203af8379c8ffe3fdf133714ecbadef (diff) | |
download | monitoring-plugins-c0cf08d5fc319fa3bc9f5513e96059fef159a2cb.tar.gz |
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
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: /'; |