diff --git a/common/sourceTest/java/ch/systemsx/cisd/common/process/ProcessExecutionHelperTest.java b/common/sourceTest/java/ch/systemsx/cisd/common/process/ProcessExecutionHelperTest.java index f63ebd9caf6af3735fa573100b5b9f22458c2cbf..e48bd216765bafc8e6c39d922b158753c885352a 100644 --- a/common/sourceTest/java/ch/systemsx/cisd/common/process/ProcessExecutionHelperTest.java +++ b/common/sourceTest/java/ch/systemsx/cisd/common/process/ProcessExecutionHelperTest.java @@ -269,8 +269,9 @@ public class ProcessExecutionHelperTest operationLog, machineLog); result.log(); assertFalse(result.isRun()); - assertTrue(result.getStartupFailureMessage().indexOf( - "some_non_existent_executable: not found") >= 0); + assertTrue(result.getStartupFailureMessage(), result.getStartupFailureMessage().indexOf( + "some_non_existent_executable") >= 0 + && result.getStartupFailureMessage().indexOf("IOException") >= 0); System.out.println("Startup failure: " + result.getStartupFailureMessage()); }