4
0
Эх сурвалжийг харах

Check for existence of pre-instaleld pst3 for Solaris tests in t/check_procs.t

Thomas Guyot-Sionnest 17 жил өмнө
parent
commit
9a05e97890

+ 1 - 1
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;