continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r881150 - /continuum/branches/continuum-1.3.x/continuum-release/src/test/java/org/apache/maven/continuum/release/executors/ReleaseTaskExecutorTest.java
Date Tue, 17 Nov 2009 04:43:35 GMT
Author: ctan
Date: Tue Nov 17 04:43:34 2009
New Revision: 881150

URL: http://svn.apache.org/viewvc?rev=881150&view=rev
Log:
fixed unit test

Modified:
    continuum/branches/continuum-1.3.x/continuum-release/src/test/java/org/apache/maven/continuum/release/executors/ReleaseTaskExecutorTest.java

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



Mime
View raw message