You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2020/05/17 02:23:12 UTC

[maven-shared-utils] branch files-copy-failure-on-jenkins updated: yup this do not work for windows

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

olamy pushed a commit to branch files-copy-failure-on-jenkins
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git


The following commit(s) were added to refs/heads/files-copy-failure-on-jenkins by this push:
     new bf295df  yup this do not work for windows
bf295df is described below

commit bf295df434fcc289b5903fc9ad67f286b082bde1
Author: olivier lamy <ol...@apache.org>
AuthorDate: Sun May 17 12:22:55 2020 +1000

    yup this do not work for windows
    
    Signed-off-by: olivier lamy <ol...@apache.org>
---
 src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java b/src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java
index 1ab2a27..46b94ff 100644
--- a/src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java
+++ b/src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java
@@ -510,8 +510,7 @@ public class FileUtilsTest
                         + ", directory content: " + Arrays.asList( destination.getParentFile().list() ),
                     Files.exists( destination.toPath() ), is( true ) );
 
-        assertThat( "Check copy executable: " + Files.getPosixFilePermissions( destination.toPath()),
-                    destination.canExecute(), is( true ) );
+        assertThat( "Check copy executable", destination.canExecute(), is( true ) );
     }
 
     @Test