From: Thomas Guyot-Sionnest Date: Tue, 17 Mar 2009 06:56:26 +0000 (-0500) Subject: Check for existence of pre-instaleld pst3 for Solaris tests in t/check_procs.t X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9a05e9789017c03d192238c0337bc019838c52d4;p=nagiosplug.git Check for existence of pre-instaleld pst3 for Solaris tests in t/check_procs.t --- diff --git a/plugins/t/check_procs.t b/plugins/t/check_procs.t index fc32952..30f0248 100644 --- a/plugins/t/check_procs.t +++ b/plugins/t/check_procs.t @@ -10,7 +10,7 @@ use NPTest; my $t; -if (`uname -s` eq "SunOS\n") { +if (`uname -s` eq "SunOS\n" && ! -x "/usr/local/nagios/libexec/pst3") { plan skip_all => "Ignoring tests on solaris because of pst3"; } else { plan tests => 12;