{"thread":{"id":"16006","subject":"[JGIT PATCH 2/3] Fix FileTreeIteratorTest on Windows/NTFS","startedAt":"2008-10-22T08:33:32Z","lastAt":"2008-10-22T08:33:32Z","messageCount":1,"participants":["Jonas Fonseca"],"isPatch":true,"patchVersion":1,"patchTotal":3},"messages":[{"id":"93663","messageId":"20081022083332.GB17940@diku.dk","threadId":"16006","inReplyTo":null,"subject":"[JGIT PATCH 2/3] Fix FileTreeIteratorTest on Windows/NTFS","fromName":"Jonas Fonseca","fromEmail":"fonseca@diku.dk","sentAt":"2008-10-22T08:33:32Z","receivedAt":"2008-10-22T08:33:32Z","isPatch":true,"sender":{"key":"fonseca@diku.dk","avatar":"https://gravatar.com/avatar/f82f3ad698717c51873b020c750a92438c820a24056dc39fe4d07baa10a92264?d=mp&s=160"},"body":"Replace '.' with ',' in the test paths to keep the original intent, but\nmake the test runnable on systems where files named \"a.\" cannot be\nreliably created. The problem seems to be that a file created as \"a.\"\nwill end up as \"a\" on disk.\n\nSigned-off-by: Jonas Fonseca <fonseca@diku.dk>\n---\n .../jgit/treewalk/FileTreeIteratorTest.java        |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n With this all the tests pass on my Windows installation.\n\ndiff --git a/org.spearce.jgit.test/tst/org/spearce/jgit/treewalk/FileTreeIteratorTest.java b/org.spearce.jgit.test/tst/org/spearce/jgit/treewalk/FileTreeIteratorTest.java\nindex ca31991..967557e 100644\n--- a/org.spearce.jgit.test/tst/org/spearce/jgit/treewalk/FileTreeIteratorTest.java\n+++ b/org.spearce.jgit.test/tst/org/spearce/jgit/treewalk/FileTreeIteratorTest.java\n@@ -47,7 +47,7 @@\n import org.spearce.jgit.util.RawParseUtils;\n \n public class FileTreeIteratorTest extends RepositoryTestCase {\n-\tprivate final String[] paths = { \"a.\", \"a.b\", \"a/b\", \"a0b\" };\n+\tprivate final String[] paths = { \"a,\", \"a,b\", \"a/b\", \"a0b\" };\n \n \tprivate long[] mtime;\n \n-- \n1.6.0.2.1166.g8d97a.dirty\n\n-- \nJonas Fonseca\n"}]}