You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2017/06/21 02:00:13 UTC

logging-log4j2 git commit: [LOG4J2-1699] Configurable Log File Permissions with PosixFilePermission. Tweak one of the test fixtures to try to make it run on Jenkins.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master b92934bc6 -> 95f089fe7


[LOG4J2-1699] Configurable Log File Permissions with
PosixFilePermission. Tweak one of the test fixtures to try to make it
run on Jenkins.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/95f089fe
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/95f089fe
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/95f089fe

Branch: refs/heads/master
Commit: 95f089fe73d40ec786a8df514fdc13bc9eef2169
Parents: b92934b
Author: Gary Gregory <gg...@apache.org>
Authored: Tue Jun 20 19:00:10 2017 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Tue Jun 20 19:00:10 2017 -0700

----------------------------------------------------------------------
 .../apache/logging/log4j/core/appender/FilePermissionsTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/95f089fe/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/FilePermissionsTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/FilePermissionsTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/FilePermissionsTest.java
index 9754240..ceb09e5 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/FilePermissionsTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/FilePermissionsTest.java
@@ -57,7 +57,7 @@ public class FilePermissionsTest {
         return Arrays.asList(new Object[][] { //
               // @formatter:off
              {"rwxrwxrwx", true},
-             {"rw-rw-r--", false},
+             {"rw-r--r--", false},
              {"rw-------", true},
               });
               // @formatter:on
@@ -67,7 +67,7 @@ public class FilePermissionsTest {
     public static void beforeClass() {
         // TEMP
         // TODO Fix on non-Windows.
-        Assume.assumeTrue(SystemUtils.IS_OS_WINDOWS);
+        // Assume.assumeTrue(SystemUtils.IS_OS_WINDOWS);
     }
 
     private final boolean createOnDemand;