Bug 59720 - Batch test file comparisons fail on Windows as XML files are generated as EOL=LF
Summary: Batch test file comparisons fail on Windows as XML files are generated as EOL=LF
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.0
Hardware: PC Mac OS X 10.1
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-19 11:29 UTC by Sebb
Modified: 2016-06-19 12:52 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2016-06-19 11:29:21 UTC
The standard for XML files is to generate them with eol=LF on all systems.

Some of the xml output files in bin/testfiles are set up with eol=native, and so cause test failures when compared with the generated files.

The SVN settings for these files need to be fixed, and the build file adjusted to create the files with the correct settings (this is already done for some of these XML files).

Note that XML files can generally be processed OK with CRLF as well as LF, so there should be no need to force all XML files to use eol=LF.
Comment 1 Sebb 2016-06-19 12:14:59 UTC
URL: http://svn.apache.org/viewvc?rev=1749160&view=rev
Log:
Batch test file comparisons fail on Windows as XML files are generated as EOL=LF
TODO fix build.xml
Bugzilla Id: 59720

Modified:
    jmeter/trunk/bin/testfiles/BatchTestLocalRemote.xml   (props changed)
    jmeter/trunk/bin/testfiles/TEST_HTTPS.xml   (props changed)
    jmeter/trunk/bin/testfiles/XMLSchematest.xml   (props changed)
    jmeter/trunk/bin/testfiles/XPathAssertionTest.xml   (props changed)
    jmeter/trunk/bin/testfiles/XPathTest.xml   (props changed)
    jmeter/trunk/bin/testfiles/monitorStatus.xml   (props changed)
    jmeter/trunk/bin/testfiles/test_config.xml   (props changed)
Comment 2 Sebb 2016-06-19 12:52:13 UTC
URL: http://svn.apache.org/viewvc?rev=1749161&view=rev
Log:
Batch test file comparisons fail on Windows as XML files are generated as EOL=LF
fix build.xml
Bugzilla Id: 59720

Modified:
    jmeter/trunk/build.xml
    jmeter/trunk/xdocs/changes.xml
Comment 3 The ASF infrastructure team 2022-09-24 20:38:04 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4005