You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by jg...@apache.org on 2012/03/05 17:46:48 UTC

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

Author: jglick
Date: Mon Mar  5 16:46:48 2012
New Revision: 1297123

URL: http://svn.apache.org/viewvc?rev=1297123&view=rev
Log:
Windows-only failure in Ant-Build-Matrix.

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

Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/SymlinkUtilsTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/SymlinkUtilsTest.java?rev=1297123&r1=1297122&r2=1297123&view=diff
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/SymlinkUtilsTest.java (original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/SymlinkUtilsTest.java Mon Mar  5 16:46:48 2012
@@ -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 Te
         SymbolicLinkUtils.getSymbolicLinkUtils();
 
     public void testRootIsNoSymlink() throws IOException {
+        if (File.pathSeparatorChar == ';') {
+            return; // test is meaningless on Windows
+        }
         assertFalse(SYMLINK_UTILS.isSymbolicLink("/"));
     }