[EXEC-86] Disable "testExecutionOfBackgroundProcess" for Unix as well
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/exec/trunk@1723817 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/test/java/org/apache/commons/exec/issues/Exec57Test.java b/src/test/java/org/apache/commons/exec/issues/Exec57Test.java
index 07fa362..2bcfec9 100644
--- a/src/test/java/org/apache/commons/exec/issues/Exec57Test.java
+++ b/src/test/java/org/apache/commons/exec/issues/Exec57Test.java
@@ -23,6 +23,7 @@
import org.apache.commons.exec.DefaultExecutor;
import org.apache.commons.exec.OS;
import org.apache.commons.exec.PumpStreamHandler;
+import org.junit.Ignore;
import org.junit.Test;
import java.io.IOException;
@@ -42,21 +43,12 @@
* an ExecuteException is thrown to notify the caller. But this case the threads are still
* around causing a resource leak.
*
- * @TODO [EXEC-57] Broken for Mac OS X
+ * @TODO [EXEC-57] Broken for Mac OS X & Linux
*/
+ @Ignore("Broken for Unix-based systems")
@Test(timeout = TEST_TIMEOUT)
public void testExecutionOfBackgroundProcess() throws IOException {
- if (OS.isFamilyMac()) {
- testIsBrokenForCurrentOperatingSystem();
- return;
- }
-
- if (!OS.isFamilyUnix()) {
- testNotSupportedForCurrentOperatingSystem();
- return;
- }
-
final CommandLine cmdLine = new CommandLine("sh").addArgument("-c").addArgument("./src/test/scripts/issues/exec-57-nohup.sh", false);
final DefaultExecutor executor = new DefaultExecutor();
final PumpStreamHandler pumpStreamHandler = new PumpStreamHandler(System.out, System.err);