logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1172973 - /logging/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs
Date Tue, 20 Sep 2011 04:22:17 GMT
Author: bodewig
Date: Tue Sep 20 04:22:16 2011
New Revision: 1172973

URL: http://svn.apache.org/viewvc?rev=1172973&view=rev
Log:
skip failing message comparison on Mono/Linux

Modified:
    logging/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs

Modified: logging/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs?rev=1172973&r1=1172972&r2=1172973&view=diff
==============================================================================
--- logging/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs (original)
+++ logging/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs Tue Sep 20 04:22:16
2011
@@ -1530,7 +1530,9 @@ namespace log4net.Tests.Appender
 			DestroyLogger();
 
 			Assert.IsTrue(locked, "File was not locked");
+#if !MONO // at least on Linux with Mono 2.4 exclusive locking doesn't work as one would
expect
 			AssertFileEquals(filename, "This is a message" + Environment.NewLine + "This is a message
2" + Environment.NewLine);
+#endif
 			Assert.AreEqual("", sh.Message, "Unexpected error message");
 		}
 



Mime
View raw message