Browse Source

disable ErrorInCase check on osx

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@673813 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 17 years ago
parent
commit
9f64412c0b
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java

+ 3
- 1
src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java View File

@@ -579,7 +579,9 @@ public class FileUtilsTest extends TestCase {
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 {


Loading…
Cancel
Save