![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
current |
Assignee:
|
Jesse Glick
|
Components:
|
mercurial |
Created:
|
01/Jul/13 4:48 PM
|
Description:
|
Inside the HgExeTest unit test, the HgExe.pathEquals asserts for URI's starting with file:/ fail under windows. For example:
assertTrue(HgExe.pathEquals("file:/var/hg/stuff", "/var/hg/stuff"));
In the above case, file:/var/hg/stuff resolves to C:/var/hg/stuff rather than /var/hg/stuff (so there is an additional C: prefix).
This could be 'fixed' by checking if System.getProperty("os.name").contains( "Windows" ) and then pre pending a drive letter + colon, however it is not clear to me if this will defeat the purpose of this test (or indeed exactly what the purpose of this test is).
|
Environment:
|
Windows
|
Project:
|
Jenkins
|
Priority:
|
Minor
|
Reporter:
|
Steven Craft
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit
https://groups.google.com/groups/opt_out.