continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r881615 - /continuum/trunk/continuum-release/src/test/java/org/apache/maven/continuum/release/executors/ReleaseTaskExecutorTest.java
Date Tue, 17 Nov 2009 23:11:44 GMT
Author: ctan
Date: Tue Nov 17 23:11:43 2009
New Revision: 881615

URL: http://svn.apache.org/viewvc?rev=881615&view=rev
Log:
fixed unit test
merge -r 881614 of 1.3.x branch

Modified:
    continuum/trunk/continuum-release/src/test/java/org/apache/maven/continuum/release/executors/ReleaseTaskExecutorTest.java

Modified: continuum/trunk/continuum-release/src/test/java/org/apache/maven/continuum/release/executors/ReleaseTaskExecutorTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-release/src/test/java/org/apache/maven/continuum/release/executors/ReleaseTaskExecutorTest.java?rev=881615&r1=881614&r2=881615&view=diff
==============================================================================
--- continuum/trunk/continuum-release/src/test/java/org/apache/maven/continuum/release/executors/ReleaseTaskExecutorTest.java
(original)
+++ continuum/trunk/continuum-release/src/test/java/org/apache/maven/continuum/release/executors/ReleaseTaskExecutorTest.java
Tue Nov 17 23:11:43 2009
@@ -295,8 +295,7 @@
 
         ReleaseResult result = (ReleaseResult) releaseManager.getReleaseResults().get( "testRelease"
);
 
-        if ( !result.getOutput().contains( "test/executable/mvn" ) && 
-                !result.getOutput().contains( "test\\executable\\mvn" ) )
+        if ( !result.getOutput().replace( "\\", "/" ).contains( "test/executable/mvn" ) )
         {
             fail( "Error in release:perform. Missing executable" );
         }



Mime
View raw message