Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestFileSystem.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestFileSystem.java b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestFileSystem.java
index 1cb1ffdf1..6777c60f7 100644
--- a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestFileSystem.java
+++ b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestFileSystem.java
@@ -96,7 +96,9 @@ class TestFileSystem implements ITCFTest, IFileSystem.DoneStat,
if (entries != null && tmp_path == null) {
for (DirEntry e : entries) {
if (e.filename.equals("tmp") || e.filename.equalsIgnoreCase("temp")) {
- tmp_path = root + "/" + e.filename;
+ tmp_path = root;
+ if (!tmp_path.endsWith("/")) tmp_path += "/";
+ tmp_path += e.filename;
break;
}
}

Back to the top