瀏覽代碼

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

Thomas Guyot-Sionnest 17 年之前
父節點
當前提交
9a05e97890
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/t/check_procs.t

+ 1 - 1
plugins/t/check_procs.t

@@ -10,7 +10,7 @@ use NPTest;
 
 
 my $t;
 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";
 	plan skip_all => "Ignoring tests on solaris because of pst3";
 } else {
 } else {
 	plan tests => 12;
 	plan tests => 12;