This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-exec.git
commit 2ce0d925b931d504acce2753c98afbc45d77fb48 Author: Gary Gregory <[email protected]> AuthorDate: Fri Dec 29 10:09:12 2023 -0500 TODO Fix tests for Windows & Linux --- src/test/java/org/apache/commons/exec/issues/Exec65Test.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/test/java/org/apache/commons/exec/issues/Exec65Test.java b/src/test/java/org/apache/commons/exec/issues/Exec65Test.java index af9df9ae..8041de11 100644 --- a/src/test/java/org/apache/commons/exec/issues/Exec65Test.java +++ b/src/test/java/org/apache/commons/exec/issues/Exec65Test.java @@ -54,10 +54,7 @@ public class Exec65Test extends AbstractExecTest { @Test @Timeout(value = TEST_TIMEOUT, unit = TimeUnit.MILLISECONDS) public void testExec65WithSleepUsingShellScript() throws Exception { - - if (!OS.isFamilyMac()) { - throw new ExecuteException(testNotSupportedForCurrentOperatingSystem(), 0); - } + assumeTrue(OS.isFamilyMac()); final DefaultExecutor executor = new DefaultExecutor(); executor.setStreamHandler(new PumpStreamHandler(System.out, System.err)); executor.setWatchdog(new ExecuteWatchdog(WATCHDOG_TIMEOUT));
