Author: olamy
Date: Mon Feb 28 23:17:12 2011
New Revision: 1075583

URL: http://svn.apache.org/viewvc?rev=1075583&view=rev
Log:
revert previous try to fix symlink issue as it break so much test

Modified:
    
maven/scm/trunk/maven-scm-test/src/main/java/org/apache/maven/scm/ScmTestCase.java

Modified: 
maven/scm/trunk/maven-scm-test/src/main/java/org/apache/maven/scm/ScmTestCase.java
URL: 
http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-test/src/main/java/org/apache/maven/scm/ScmTestCase.java?rev=1075583&r1=1075582&r2=1075583&view=diff
==============================================================================
--- 
maven/scm/trunk/maven-scm-test/src/main/java/org/apache/maven/scm/ScmTestCase.java
 (original)
+++ 
maven/scm/trunk/maven-scm-test/src/main/java/org/apache/maven/scm/ScmTestCase.java
 Mon Feb 28 23:17:12 2011
@@ -328,13 +328,7 @@ public abstract class ScmTestCase
         Commandline cl = new Commandline( expectedCommand );
         if ( expectedWorkingDirectory != null )
         {
-            // take of symlink
-            if (expectedWorkingDirectory.getCanonicalFile().equals( 
expectedWorkingDirectory.getAbsoluteFile() ))
-            {
-                cl.setWorkingDirectory( 
expectedWorkingDirectory.getAbsolutePath() );
-            } else {
-                cl.setWorkingDirectory( 
expectedWorkingDirectory.getCanonicalPath() );
-            }
+            cl.setWorkingDirectory( expectedWorkingDirectory.getAbsolutePath() 
);
         }
         assertEquals( cl.toString(), actualCommand.toString() );
     }


Reply via email to