[
https://issues.apache.org/jira/browse/SLING-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756550#action_12756550
]
Felix Meschberger commented on SLING-1113:
------------------------------------------
There are two tests actually:
testExtractFileNameForwardSlash is the former testExtractFileName testing
forward slashes on all platforms
testExtractFileNameForwardSlashSeparatorChar tests the platform
File.separatorChar
so on windows both parts are actually tested (while on linux systems the
forward slash is tested twice)
> BootstrapInstallerTest fails on Windows systems
> -----------------------------------------------
>
> Key: SLING-1113
> URL: https://issues.apache.org/jira/browse/SLING-1113
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Environment: Windows XP SP3
> Reporter: Mike Müller
> Assignee: Mike Müller
> Priority: Trivial
> Attachments: BootstrapInstallerTest.java.patch,
> SLING-1113-fmeschbe.patch
>
>
> The BootstrapInstallerTest.testExtractFileName fails because on a Windows
> system the separator char for a directory is \ and not /. The test does not
> use File.separatorChar to get the right separator but the implementation in
> BootstrapInstaller does.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.