You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2012/08/15 22:55:56 UTC
svn commit: r1373627 -
/ant/ivy/core/trunk/test/java/org/apache/ivy/core/retrieve/RetrieveTest.java
Author: hibou
Date: Wed Aug 15 20:55:56 2012
New Revision: 1373627
URL: http://svn.apache.org/viewvc?rev=1373627&view=rev
Log:
Do actual symlink testing on Mac OS X
Modified:
ant/ivy/core/trunk/test/java/org/apache/ivy/core/retrieve/RetrieveTest.java
Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/retrieve/RetrieveTest.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/retrieve/RetrieveTest.java?rev=1373627&r1=1373626&r2=1373627&view=diff
==============================================================================
--- ant/ivy/core/trunk/test/java/org/apache/ivy/core/retrieve/RetrieveTest.java (original)
+++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/retrieve/RetrieveTest.java Wed Aug 15 20:55:56 2012
@@ -240,7 +240,7 @@ public class RetrieveTest extends TestCa
assertTrue("The file " + filename + " doesn't exist", file.exists());
String os = System.getProperty("os.name");
- if (os.equals("Linux") || os.equals("Solaris") || os.equals("FreeBSD")) {
+ if (os.equals("Linux") || os.equals("Solaris") || os.equals("FreeBSD") || os.equals("Mac OS X")) {
// these OS should support symnlink, so check that the file is actually a symlink.
// this is done be checking that the canonical path is different from the absolute
// path.