mirror of https://github.com/apache/lucene.git
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:
parent
d0bb1cc471
commit
b1f419fbaf
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue