Bug #68521 CRLF instead of LF in sql-bench scripts
Submitted: 28 Feb 2013 9:55 Modified: 25 Jun 2014 16:07
Reporter: Norvald Ryeng Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.1.68 OS:Linux
Assigned to: CPU Architecture:Any

[28 Feb 2013 9:55] Norvald Ryeng
Description:
Scripts in sql-bench/ uses CRLF as line endings. This might also affect other package formats such as source RPMs etc. (not checked).

The problem exists in 5.1, 5.5, 5.6 and trunk.

This causes unnecessary warnings when checking RPM package quality with rpmlint.

How to repeat:
hexdump -C sql-bench/*.sh | grep "0d 0a"

Suggested fix:
Replace CRLF with LF.
[25 Jun 2014 16:07] Paul DuBois
Noted in 5.5.39, 5.6.20, 5.7.5 changelogs.

File permissions and line endings of several test files were made
more consistent to avoid warnings from package checkers.
[1 Aug 2014 16:31] Laurynas Biveinis
5.5 $ bzr log -r 4664
------------------------------------------------------------
revno: 4664
committer: Terje Rosten <terje.rosten@oracle.com>
branch nick: mysql-5.5-rpmlint
timestamp: Wed 2014-06-25 12:35:50 +0200
message:
  Bug#16395459 TEST AND RESULT FILES WITH EXECUTE BIT
  Bug#16415173 CRLF INSTEAD OF LF IN SQL-BENCH SCRIPTS
        
  Correct perms and converts from Windows style to UNIX style line endings on some files.
  Fix perms on installed ini files.
  
  (MySQL 5.5 version)