Fix FileTreeIteratorTest on Windows/NTFS
PATCH 2/3 Fix FileTreeIteratorTest on Windows/NTFS
Replace '.' with ',' in the test paths to keep the original intent, but make the test runnable on systems where files named "a." cannot be reliably created. The problem seems to be that a file created as "a." will end up as "a" on disk.
Signed-off-by Jonas Fonseca <[email protected]>
--- .../jgit/treewalk/FileTreeIteratorTest.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
With this all the tests pass on my Windows installation.
org.spearce.jgit.test/tst/org/spearce/jgit/treewalk/FileTreeIteratorTest.java +1 -1
@@ -47,7 +47,7 @@ import org.spearce.jgit.util.RawParseUtils; public class FileTreeIteratorTest extends RepositoryTestCase { - private final String[] paths = { "a.", "a.b", "a/b", "a0b" }; + private final String[] paths = { "a,", "a,b", "a/b", "a0b" }; private long[] mtime;
Signature · 4 lines
1.6.0.2.1166.g8d97a.dirty -- Jonas Fonseca