From 9a05e9789017c03d192238c0337bc019838c52d4 Mon Sep 17 00:00:00 2001
From: Thomas Guyot-Sionnest <dermoth@solaris.beaubien.net>
Date: Tue, 17 Mar 2009 01:56:26 -0500
Subject: 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;
-- 
cgit v0.10-9-g596f

