diff options
author | Thomas Guyot-Sionnest <dermoth@solaris.beaubien.net> | 2009-03-17 06:56:26 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@solaris.beaubien.net> | 2009-03-17 06:56:26 (GMT) |
commit | 9a05e9789017c03d192238c0337bc019838c52d4 (patch) | |
tree | 4d52213d150a156b3fe227198549dc665650bb86 | |
parent | 16030bc497668f36b53982192f67a60d0c8d18a4 (diff) | |
download | monitoring-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.t | 2 |
1 files changed, 1 insertions, 1 deletions
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; | |||
10 | 10 | ||
11 | my $t; | 11 | my $t; |
12 | 12 | ||
13 | if (`uname -s` eq "SunOS\n") { | 13 | if (`uname -s` eq "SunOS\n" && ! -x "/usr/local/nagios/libexec/pst3") { |
14 | plan skip_all => "Ignoring tests on solaris because of pst3"; | 14 | plan skip_all => "Ignoring tests on solaris because of pst3"; |
15 | } else { | 15 | } else { |
16 | plan tests => 12; | 16 | plan tests => 12; |