ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r673813 - /ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
Date Thu, 03 Jul 2008 21:19:13 GMT
Author: mbenson
Date: Thu Jul  3 14:19:13 2008
New Revision: 673813

URL: http://svn.apache.org/viewvc?rev=673813&view=rev
Log:
disable ErrorInCase check on osx

Modified:
    ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java

Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java?rev=673813&r1=673812&r2=673813&view=diff
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java (original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java Thu Jul  3
14:19:13 2008
@@ -579,7 +579,9 @@
                                                    true, true);
         String s = wellcased.getName().toUpperCase();
         File wrongcased = new File(tempFolder, s);
-        if (Os.isFamily("dos")) {
+        if (Os.isFamily("mac") && Os.isFamily("unix")) {
+            //no guarantees on filesystem case-sensitivity
+        } else if (Os.isFamily("dos")) {
             assertTrue(FILE_UTILS.hasErrorInCase(wrongcased));
             assertFalse(FILE_UTILS.hasErrorInCase(wellcased));
         } else {



Mime
View raw message