[logback-dev] [GIT] Logback: the generic, reliable, fast and flexible logging framework. branch, master, updated. v_0.9.27-15-g85d4705

added by portage for gitosis-gentoo git-noreply at pixie.qos.ch
Tue Jan 18 11:29:36 CET 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Logback: the generic, reliable, fast and flexible logging framework.".

The branch, master has been updated
       via  85d47057b85ae7f800915418ef8c3549322effd4 (commit)
      from  81b32976042ead74528173abd18b456df43023f7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.qos.ch/gitweb/?p=logback.git;a=commit;h=85d47057b85ae7f800915418ef8c3549322effd4
http://github.com/ceki/logback/commit/85d47057b85ae7f800915418ef8c3549322effd4

commit 85d47057b85ae7f800915418ef8c3549322effd4
Author: Ceki Gulcu <ceki at qos.ch>
Date:   Tue Jan 18 11:26:37 2011 +0100

    failed renaming tests does not seems to work on Linux where renaming succeeds...

diff --git a/logback-core/src/test/scala/ch/qos/logback/core/rolling/TimeBasedRolling2Test.scala b/logback-core/src/test/scala/ch/qos/logback/core/rolling/TimeBasedRolling2Test.scala
index 97af666..2a94519 100644
--- a/logback-core/src/test/scala/ch/qos/logback/core/rolling/TimeBasedRolling2Test.scala
+++ b/logback-core/src/test/scala/ch/qos/logback/core/rolling/TimeBasedRolling2Test.scala
@@ -19,6 +19,7 @@ import org.junit.Test
 import ch.qos.logback.core.encoder.EchoEncoder
 import java.io.{FileOutputStream, File}
 import ch.qos.logback.core.util.{StatusPrinter, Compare, CoreTestConstants}
+import ch.qos.logback.core.testUtil.Env
 
 class TimeBasedRolling2Test extends RollingScaffolding {
 
@@ -176,7 +177,9 @@ class TimeBasedRolling2Test extends RollingScaffolding {
 
 
   @Test
-  def failed_rename = {
+  def failed_rename: Unit = {
+
+    if(!Env.isWindows) return null
 
     var fos: FileOutputStream = null
     try {

-----------------------------------------------------------------------

Summary of changes:
 .../core/rolling/TimeBasedRolling2Test.scala       |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Logback: the generic, reliable, fast and flexible logging framework.


More information about the logback-dev mailing list