HttpProxyTransferTest fails on Windows
--------------------------------------
Key: MRM-996
URL: http://jira.codehaus.org/browse/MRM-996
Project: Archiva
Issue Type: Bug
Components: build
Affects Versions: 1.2-M1
Environment: Windows
Reporter: Martin Cooper
Attachments: fix_line_ends.patch
The HttpProxyTransferTest fails on Windows due to line end issues. The test is
comparing a file on disk with a mocked up response, but the response is created
such that line ends in the content portion vary according to the OS on which
the test is run.
The fix is to create the mock response using hard-coded line end characters in
the content portion. Patch attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira