Ejemplo n.º 1
0
 // Method: checkExecScript
 // Verifies that execScript exists and is executable
 public boolean checkExecScript() {
   if (Tools.CheckFile(execScript)) {
     tcInstanceTools.LogMessage('d', "Found test case script: " + execScript);
     if (Tools.CheckExecutable(execScript)) {
       tcInstanceTools.LogMessage('d', "Script " + execScript + " is executable");
       return true;
     } else {
       tcInstanceTools.LogMessage('e', "Script " + execScript + " is not executable");
       return false;
     }
   } else {
     tcInstanceTools.LogMessage('e', "Cannot find test case script: " + execScript);
     return false;
   }
 }