From c0cf08d5fc319fa3bc9f5513e96059fef159a2cb Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Mon, 17 Mar 2008 23:08:21 +0000 Subject: 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 --- plugins/t/check_nagios.t | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins') 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: /'; -- cgit v1.2.3-74-g34f1