Bladeren bron

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

Thomas Guyot-Sionnest 17 jaren geleden
bovenliggende
commit
9a05e97890
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      plugins/t/check_procs.t

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