[ https://issues.apache.org/jira/browse/LUCY-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marvin Humphrey resolved LUCY-160.
----------------------------------
Resolution: Fixed
> Always disable symlink tests on Windows
> ---------------------------------------
>
> Key: LUCY-160
> URL: https://issues.apache.org/jira/browse/LUCY-160
> Project: Lucy
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.1.0 (incubating)
> Reporter: Marvin Humphrey
> Assignee: Marvin Humphrey
> Priority: Minor
> Fix For: 0.1.1 (incubating), 0.2.0 (incubating)
>
>
> The enabling of test_preserve_symlinks() test in TestFSFolder.c has heretofore
> been keyed off of the existence of the unistd.h header file. This has caused
> errors under Strawberry Perl, which provides the unistd.h header but without a
> symlink() function. The solution is to disable the test based on whether the
> _WIN32 symbol is defined.
> We also add a test which uses windows.h and CreateSymbolicLink() rather than
> unistd.h and symlink(). However it must remain disabled by default, since
> CreateSymbolicLink() fails unless the user running the test has administrator
> privileges.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|