aboutsummaryrefslogtreecommitdiff
path: root/jacoco-maven-plugin.test
diff options
context:
space:
mode:
authormuminc <mumin@talk21.com>2013-12-02 22:49:02 +0000
committermuminc <mumin@talk21.com>2013-12-02 22:49:02 +0000
commit30bc8af41c61b79de5a3ae84a4d51c5606dc744b (patch)
tree52fb41a55fdcc08d82cbb811652cf3ebfe31b04e /jacoco-maven-plugin.test
parentb46b0dc55acdd743c6c4ed0e2ba25b7f68493006 (diff)
downloadjacoco-30bc8af41c61b79de5a3ae84a4d51c5606dc744b.tar.gz
Fix build failure on Windows
Diffstat (limited to 'jacoco-maven-plugin.test')
-rw-r--r--jacoco-maven-plugin.test/it/it-customize-agent/verify.bsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jacoco-maven-plugin.test/it/it-customize-agent/verify.bsh b/jacoco-maven-plugin.test/it/it-customize-agent/verify.bsh
index aaca5f01..59e89c1b 100644
--- a/jacoco-maven-plugin.test/it/it-customize-agent/verify.bsh
+++ b/jacoco-maven-plugin.test/it/it-customize-agent/verify.bsh
@@ -23,6 +23,9 @@ String agentOptions = "destfile=" + basedir + File.separator + "target" + File.s
+ ",address=localhost"
+ ",port=9999"
+ ",classdumpdir=" + basedir + File.separator + "target" + File.separator + "classdumps";
+
+//backslashes will be escaped
+agentOptions = agentOptions.replace("\\","\\\\");
String buildLog = FileUtils.fileRead( new File( basedir, "build.log" ) );
if ( buildLog.indexOf( agentOptions ) < 0 ) {
throw new RuntimeException( "Property was not configured, expected " + agentOptions );