diff options
author | eutarass | 2010-07-28 18:24:39 +0000 |
---|---|---|
committer | eutarass | 2010-07-28 18:24:39 +0000 |
commit | 30819da337326ee654f7ba622d4c5750bd69af77 (patch) | |
tree | e2d2770e3bd1c95f5d109728c9c901ee265a80a3 /plugins/org.eclipse.tm.tcf.debug/src/org/eclipse | |
parent | afefba65ded9dca4d7740639ce6c75301773f0ac (diff) | |
download | org.eclipse.tcf-30819da337326ee654f7ba622d4c5750bd69af77.tar.gz org.eclipse.tcf-30819da337326ee654f7ba622d4c5750bd69af77.tar.xz org.eclipse.tcf-30819da337326ee654f7ba622d4c5750bd69af77.zip |
TCF Tests: fixed: file system test creates file names with double slashes
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.debug/src/org/eclipse')
-rw-r--r-- | plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestFileSystem.java | 4 |
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; } } |