Browse Source

Windows-only failure in Ant-Build-Matrix.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1297123 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 13 years ago
parent
commit
83d2993be5
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/tests/junit/org/apache/tools/ant/util/SymlinkUtilsTest.java

+ 4
- 0
src/tests/junit/org/apache/tools/ant/util/SymlinkUtilsTest.java View File

@@ -18,6 +18,7 @@

package org.apache.tools.ant.util;

import java.io.File;
import java.io.IOException;
import junit.framework.TestCase;

@@ -27,6 +28,9 @@ public class SymlinkUtilsTest extends TestCase {
SymbolicLinkUtils.getSymbolicLinkUtils();

public void testRootIsNoSymlink() throws IOException {
if (File.pathSeparatorChar == ';') {
return; // test is meaningless on Windows
}
assertFalse(SYMLINK_UTILS.isSymbolicLink("/"));
}



Loading…
Cancel
Save