tests: preserve *.sh EOL always as LF [Closes #947]

Shell scripts EOL will be LF no matter what core.autocrlf is.
Merge pull request #974 from milo/issue-947

tests: preserve *.sh EOL always as LF [Closes #947]