aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@solaris.beaubien.net> 2009-03-17 01:56:26 -0500
committerGravatar Thomas Guyot-Sionnest <dermoth@solaris.beaubien.net> 2009-03-17 01:56:26 -0500
commit9a05e9789017c03d192238c0337bc019838c52d4 (patch)
tree4d52213d150a156b3fe227198549dc665650bb86
parent16030bc497668f36b53982192f67a60d0c8d18a4 (diff)
downloadmonitoring-plugins-9a05e9789017c03d192238c0337bc019838c52d4.tar.gz
Check for existence of pre-instaleld pst3 for Solaris tests in t/check_procs.t
-rw-r--r--plugins/t/check_procs.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_procs.t b/plugins/t/check_procs.t
index fc32952d..30f02488 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;