You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2011/07/01 06:25:28 UTC
[lucy-issues] [jira] [Updated] (LUCY-160) Always disable symlink tests on Windows
[ https://issues.apache.org/jira/browse/LUCY-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marvin Humphrey updated LUCY-160:
---------------------------------
Fix Version/s: 0.2.0 (incubating)
Assignee: Marvin Humphrey
> 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