You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/12/29 15:09:16 UTC

(commons-exec) branch master updated (3e57bb81 -> 2ce0d925)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-exec.git


    from 3e57bb81 Port from JUnit 4 to 5
     new fea0dd9f Surefire configuration override is no longer needed
     new 2ce0d925 TODO Fix tests for Windows & Linux

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                                                      | 9 ---------
 src/test/java/org/apache/commons/exec/issues/Exec65Test.java | 5 +----
 2 files changed, 1 insertion(+), 13 deletions(-)


(commons-exec) 01/02: Surefire configuration override is no longer needed

Posted by gg...@apache.org.
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 fea0dd9f93a83204cc39234e8eab3b023f234184
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Dec 29 10:07:47 2023 -0500

    Surefire configuration override is no longer needed
---
 pom.xml | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/pom.xml b/pom.xml
index 13aed45c..76f900ae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,15 +60,6 @@
     <build>
         <defaultGoal>clean verify apache-rat:check japicmp:cmp checkstyle:check pmd:cpd-check pmd:check javadoc:javadoc</defaultGoal>     
         <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <configuration>
-                    <excludes>
-                        <exclude>**/TestUtil.java</exclude>
-                    </excludes>
-                </configuration>
-            </plugin>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
                 <configuration>


(commons-exec) 02/02: TODO Fix tests for Windows & Linux

Posted by gg...@apache.org.
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 <ga...@gmail.com>
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));