logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carn...@apache.org
Subject svn commit: r928151 - /logging/log4j/trunk/tests/src/java/org/apache/log4j/TestLogMF.java
Date Sat, 27 Mar 2010 05:51:48 GMT
Author: carnold
Date: Sat Mar 27 05:51:47 2010
New Revision: 928151

URL: http://svn.apache.org/viewvc?rev=928151&view=rev
Log:
Bug 49004: TestLogMF.testDebugDate fails on gcj

Modified:
    logging/log4j/trunk/tests/src/java/org/apache/log4j/TestLogMF.java

Modified: logging/log4j/trunk/tests/src/java/org/apache/log4j/TestLogMF.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/tests/src/java/org/apache/log4j/TestLogMF.java?rev=928151&r1=928150&r2=928151&view=diff
==============================================================================
--- logging/log4j/trunk/tests/src/java/org/apache/log4j/TestLogMF.java (original)
+++ logging/log4j/trunk/tests/src/java/org/apache/log4j/TestLogMF.java Sat Mar 27 05:51:47
2010
@@ -488,7 +488,7 @@ public class TestLogMF extends TestCase 
         //
         //  gcj has been observed to output 12/31/69 6:00:00 PM
         //     instead of the expected 12/31/69 6:00 PM
-        if (System.getProperty("java.vendor").indexOf("Free") != -1) {
+        if (System.getProperty("java.vendor").indexOf("Free") == -1) {
             assertEquals(expected, actual);
         }
         assertEquals(expected2, actual);



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message