Author: bentmann
Date: Mon Aug 17 15:45:41 2009
New Revision: 805013
URL: http://svn.apache.org/viewvc?rev=805013&view=rev
Log:
o Tweaked IT to more closely check the log output to prevent bogus failures
when the plugin configuration itself is present in the debug log
Modified:
maven/plugins/trunk/maven-antrun-plugin/src/it/tasksattributes-test/verify.bsh
Modified:
maven/plugins/trunk/maven-antrun-plugin/src/it/tasksattributes-test/verify.bsh
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-antrun-plugin/src/it/tasksattributes-test/verify.bsh?rev=805013&r1=805012&r2=805013&view=diff
==============================================================================
---
maven/plugins/trunk/maven-antrun-plugin/src/it/tasksattributes-test/verify.bsh
(original)
+++
maven/plugins/trunk/maven-antrun-plugin/src/it/tasksattributes-test/verify.bsh
Mon Aug 17 15:45:41 2009
@@ -9,13 +9,13 @@
File buildLog = new File( basedir, "build.log" );
String log = FileUtils.fileRead( buildLog );
- if ( log.indexOf( "[ANTRUN-OUTPUT-MARKER:IF]" ) < 0 )
+ if ( log.indexOf( "[echo] [ANTRUN-OUTPUT-MARKER:IF]" ) < 0 )
{
System.err.println( "Generated console output does not contain
expected marker output" );
return false;
}
- if ( log.indexOf( "[ANTRUN-OUTPUT-MARKER:UNLESS]" ) >= 0 )
+ if ( log.indexOf( "[echo] [ANTRUN-OUTPUT-MARKER:UNLESS]" ) >= 0 )
{
System.err.println( "Generated console output contains unexpected
marker output" );
return false;