summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/partest/scala/tools/partest/nest/Worker.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/partest/scala/tools/partest/nest/Worker.scala b/src/partest/scala/tools/partest/nest/Worker.scala
index 2f81dfd0f7..45fa5e2020 100644
--- a/src/partest/scala/tools/partest/nest/Worker.scala
+++ b/src/partest/scala/tools/partest/nest/Worker.scala
@@ -614,8 +614,8 @@ class Worker(val fileManager: FileManager) extends Actor {
loop()
testReader.close()
}
-
- fileManager.mapFile(logFile, "tmp", file, _.replace(sourcepath, ""))
+ val unixsrcpath = sourcepath.replaceAll(java.util.regex.Matcher.quoteReplacement("\\"), "/")
+ fileManager.mapFile(logFile, "tmp", file, _.replace(unixsrcpath, ""))
diffCheck(compareOutput(file, fileBase, kind, logFile))
}