You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by mb...@apache.org on 2008/07/03 23:19:13 UTC

svn commit: r673813 - /ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java

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 {