boxes/test/158_eol_control_crlf_remove.txt
Thomas Jensen 6427d1efde
Test cases for eol control option #60
This also adds the ability to testrunner.sh to pipe the output
through xxd for binary comparisons.
2021-04-11 20:34:52 +02:00

18 lines
316 B
Plaintext

:DESC
Test that the line terminator can be forced to CRLF on box removal.
:ENV
export BOXES_TEST_XXD=1
:ARGS
-f ../boxes-config -d c -e crlf -r
:INPUT
/*******/
/* foo */
/* bar */
/*******/
:OUTPUT-FILTER
s/^.*([0-9a-fA-F]{4}):/0000\1:/
:EXPECTED
00000000: 666f 6f0d 0a62 6172 0d0a foo..bar..
:EOF