You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by lg...@apache.org on 2017/09/14 16:03:48 UTC
[geode] branch develop updated: GEODE-3185: Fixes CI failures in
windows in org.apache.geode.internal.cache.BackupJUnitTest
This is an automated email from the ASF dual-hosted git repository.
lgallinat pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new f1f9307 GEODE-3185: Fixes CI failures in windows in org.apache.geode.internal.cache.BackupJUnitTest
f1f9307 is described below
commit f1f9307dafe8bede1a53d4a04124b7305b62b5e2
Author: Lynn Gallinat <lg...@pivotal.io>
AuthorDate: Tue Sep 12 16:56:49 2017 -0700
GEODE-3185: Fixes CI failures in windows in org.apache.geode.internal.cache.BackupJUnitTest
The windows restore script now cds to the directory containing the script.
This makes the windows restore script similar to the unix restore script
The restore script uses relative path names, so the cd is required for it to work.
---
.../java/org/apache/geode/internal/cache/persistence/RestoreScript.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/persistence/RestoreScript.java b/geode-core/src/main/java/org/apache/geode/internal/cache/persistence/RestoreScript.java
index 3076e04..b23bce6 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/persistence/RestoreScript.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/persistence/RestoreScript.java
@@ -163,6 +163,7 @@ public class RestoreScript {
public void writePreamble(PrintWriter writer) {
writer.println("echo off");
+ writer.println("cd %~dp0");
}
public void writeComment(PrintWriter writer, String string) {
--
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].