[
https://issues.apache.org/jira/browse/FREEMARKER-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952310#comment-14952310
]
Woonsan Ko commented on FREEMARKER-3:
-------------------------------------
The reason why freemarker.cache.FileTemplateLoaderTest fails on OS X is because
the default file system, HFS+, of OS X is NOT case-sensitive [1] even if it is
case-preserving [2].
Therefore, I think we should check if it is OS X as well as Windows in the test
case.
[1] http://www.informit.com/articles/article.aspx?p=1144082&seqNum=4
[2]
https://www.quora.com/Why-does-OS-X-choose-to-have-a-case-insensitive-file-system-instead-of-a-case-sensitive-one
> FileTemplateLoaderTest and ASTTest fails test on non-Windows env
> ----------------------------------------------------------------
>
> Key: FREEMARKER-3
> URL: https://issues.apache.org/jira/browse/FREEMARKER-3
> Project: Apache Freemarker
> Issue Type: Bug
> Environment: - OS X 10.10.5 x86_64
> - Apache Ant(TM) version 1.9.6 compiled on June 29 2015
> - Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
> Reporter: Woonsan Ko
>
> From master, if you run `ant test' on OS X (Ant 1.9 / Java 1.8), two tests
> fail:
> {noformat}
> [junit] TEST freemarker.cache.FileTemplateLoaderTest FAILED
> [junit] TEST freemarker.core.ASTTest FAILED
> {noformat}
> Those look like an environment related issue. FileTemplateLoaderTest seems
> failing when resolving file in case-sensitive way and ASTTest seems failing
> due to EOL issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)