SOLR-5164: fix relative solr.home testing on Windows

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514939 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-08-17 03:20:54 +00:00
parent d0bb1cc471
commit b1f419fbaf
1 changed files with 1 additions and 1 deletions

View File

@ -482,7 +482,7 @@ public abstract class AbstractFullDistribZkTestBase extends AbstractDistribZkTes
path = path.substring(0, path.length() - 2);
}
int splits = path.split(File.separator).length;
int splits = path.split("\\" + File.separator).length;
StringBuilder p = new StringBuilder();
for (int i = 0; i < splits - 2; i++) {