testing/tests/crlf-line-terminators.test
raw| 1 | # %TEST-DOC: Check that CRLF line-terminators are preserved in test files. |
| 2 | # Note that this test file itself has CRLF line endings and .gitattributes |
| 3 | # has an entry to explicitly say this file uses CRLF. |
| 4 | |
| 5 | # %TEST-EXEC: cp %INPUT input |
| 6 | # %TEST-EXEC: btest-diff input |
| 7 | # %TEST-EXEC: btest-diff crlfs.dat |
| 8 | |
| 9 | one |
| 10 | two |
| 11 | three |
| 12 | |
| 13 | %TEST-START-FILE crlfs.dat |
| 14 | 1 |
| 15 | 2 |
| 16 | 3 |
| 17 | %TEST-END-FILE |