boxes/test/161_eol_control_list_designs_crlf.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

36 lines
1.9 KiB
Plaintext

:ENV
export BOXES_TEST_XXD=1
:ARGS
-f 161_eol_control_list_designs_crlf.cfg -l -e CRlf
:INPUT
:OUTPUT-FILTER
s/^.*([0-9a-fA-F]{4}):/0000\1:/
:EXPECTED
00000000: 3420 4176 6169 6c61 626c 6520 5374 796c 4 Available Styl
00000010: 6573 2069 6e20 2231 3631 5f65 6f6c 5f63 es in "161_eol_c
00000020: 6f6e 7472 6f6c 5f6c 6973 745f 6465 7369 ontrol_list_desi
00000030: 676e 735f 6372 6c66 2e63 6667 223a 0d0a gns_crlf.cfg":..
00000040: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d ----------------
00000050: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d ----------------
00000060: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d ----------------
00000070: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 0d0a --------------..
00000080: 0d0a 6465 7369 676e 410d 0a64 6573 6967 ..designA..desig
00000090: 6e65 7241 2c20 636f 6465 6420 6279 2061 nerA, coded by a
000000a0: 7574 686f 7241 3a0d 0a0d 0a20 2020 2041 uthorA:.... A
000000b0: 4141 0d0a 2020 2020 4141 4120 666f 6f0d AA.. AAA foo.
000000c0: 0a20 2020 2041 4141 0d0a 0d0a 0d0a 6465 . AAA......de
000000d0: 7369 676e 420d 0a75 6e6b 6e6f 776e 2061 signB..unknown a
000000e0: 7274 6973 742c 2063 6f64 6564 2062 7920 rtist, coded by
000000f0: 6175 7468 6f72 423a 0d0a 0d0a 2020 2020 authorB:....
00000100: 4242 420d 0a20 2020 2042 4242 2066 6f6f BBB.. BBB foo
00000110: 0d0a 2020 2020 4242 420d 0a0d 0a0d 0a64 .. BBB......d
00000120: 6573 6967 6e43 0d0a 6465 7369 676e 6572 esignC..designer
00000130: 433a 0d0a 0d0a 2020 2020 4343 430d 0a20 C:.... CCC..
00000140: 2020 2043 4343 2066 6f6f 0d0a 2020 2020 CCC foo..
00000150: 4343 430d 0a0d 0a0d 0a64 6573 6967 6e44 CCC......designD
00000160: 3a0d 0a0d 0a20 2020 2044 4444 0d0a 2020 :.... DDD..
00000170: 2020 4444 4420 666f 6f0d 0a20 2020 2044 DDD foo.. D
00000180: 4444 0d0a 0d0a 0d0a 7461 6731 2028 3229 DD......tag1 (2)
00000190: 207c 2074 6167 3220 2831 290d 0a | tag2 (1)..
:EOF