mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 19:00:54 -06:00
Tests: Provide RunCMake.CommandLine compare_files data more robustly
The `lf` and `crlf` files need to have exact LF and CRLF newlines, respectively. Previously we used the Git `eol` attribute for this, but occasionally the Git work tree ends up without the conversion. It is unclear why that happens, so try to avoid the problem by treating their content as binary instead.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
crlf eol=crlf
|
||||
lf eol=lf
|
||||
crlf -text -whitespace
|
||||
lf -text
|
||||
|
||||
@@ -1 +1 @@
|
||||
line1
|
||||
line1
|
||||
|
||||
Reference in New Issue
Block a user