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 01:17:26 UTC

[maven-shared-utils] 01/01: add some debug to try understand failure on Jenkins

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

commit 902dcf1f6079e03d1d15a393102655aabc3846d2
Author: olivier lamy <ol...@apache.org>
AuthorDate: Sun May 17 11:17:05 2020 +1000

    add some debug to try understand failure on Jenkins
    
    Signed-off-by: olivier lamy <ol...@apache.org>
---
 src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 b5f17e6..e88e926 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
@@ -504,7 +504,8 @@ public class FileUtilsTest
 
         FileUtils.copyFile( source, destination );
 
-        assertThat( "Check executable", destination.canExecute(), is( true ) );
+        assertThat( "Check copy executable: " + Files.getPosixFilePermissions( destination.toPath()),
+                    destination.canExecute(), is( true ) );
     }
 
     @Test