diff options
author | Andreas Gruenbacher <agruen@gnu.org> | 2018-02-07 12:10:41 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruen@gnu.org> | 2018-02-07 13:19:24 +0100 |
commit | f6bc5b14bd193859851d15a049bafb1007acd288 (patch) | |
tree | 7e76f6d0de159d5edab18f88ee83124ba84680d3 /tests/crlf-handling | |
parent | 3bbebbb29f6fbbf2988b9f2e75695b7c0b1f1c9b (diff) | |
download | patch-f6bc5b14bd193859851d15a049bafb1007acd288.tar.gz |
Test suite compatibility fixes
* tests/crlf-handling, tests/git-cleanup, tests/test-lib.sh: Use printf
instead of echo -e / echo -n for compatibility with systems that don't
support these echo options.
* tests/merge: Minor other cleanups.
Diffstat (limited to 'tests/crlf-handling')
-rw-r--r-- | tests/crlf-handling | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/crlf-handling b/tests/crlf-handling index 239149c..c192cac 100644 --- a/tests/crlf-handling +++ b/tests/crlf-handling @@ -14,7 +14,7 @@ use_local_patch use_tmpdir lf2crlf() { - while read l; do echo -e "$l\r"; done + while read l; do printf "%s\r\n" "$l"; done } echo 1 > a |