diff options
author | Eugene Tarassov | 2013-11-06 19:57:01 +0000 |
---|---|---|
committer | Eugene Tarassov | 2013-11-06 19:57:01 +0000 |
commit | 1b6e8d49ba433ada91edf7807b7f5739dae4c845 (patch) | |
tree | 4895898f2e78c78749a4f7b75327efb20c7e001f /plugins | |
parent | f0d256568f52582f5ac9e82ce245de0fe10a3b6d (diff) | |
download | org.eclipse.tcf-1b6e8d49ba433ada91edf7807b7f5739dae4c845.tar.gz org.eclipse.tcf-1b6e8d49ba433ada91edf7807b7f5739dae4c845.tar.xz org.eclipse.tcf-1b6e8d49ba433ada91edf7807b7f5739dae4c845.zip |
Bug 418946 - Diagnostics FileSystem java test fails if first filesystem root entry is not writable
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestFileSystem.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestFileSystem.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestFileSystem.java index d7c5ea2d4..8cba2e7a5 100644 --- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestFileSystem.java +++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestFileSystem.java @@ -93,6 +93,7 @@ class TestFileSystem implements ITCFTest, IFileSystem.DoneStat, for (DirEntry d : entries) { if (d.filename.startsWith("A:")) continue; if (d.filename.startsWith("B:")) continue; + if (d.filename.startsWith("/romfs")) continue; root = d.filename; break; } @@ -119,7 +120,7 @@ class TestFileSystem implements ITCFTest, IFileSystem.DoneStat, } if (eof) { if (tmp_path == null) { - exit(new Exception("File system test filed: cannot find temporary directory")); + exit(new Exception("File system test failed: cannot find temporary directory")); return; } files.close(handle, this); |