mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-15 11:20:41 +01:00
6427d1efde
This also adds the ability to testrunner.sh to pipe the output through xxd for binary comparisons.
34 lines
1.7 KiB
Plaintext
34 lines
1.7 KiB
Plaintext
:ENV
|
|
export BOXES_TEST_XXD=1
|
|
:ARGS
|
|
-f 162_eol_control_list_designs_lf.cfg -l -e lf
|
|
: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 3632 5f65 6f6c 5f63 es in "162_eol_c
|
|
00000020: 6f6e 7472 6f6c 5f6c 6973 745f 6465 7369 ontrol_list_desi
|
|
00000030: 676e 735f 6c66 2e63 6667 223a 0a2d 2d2d gns_lf.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 2d0a 0a64 6573 6967 ---------..desig
|
|
00000080: 6e41 0a64 6573 6967 6e65 7241 2c20 636f nA.designerA, co
|
|
00000090: 6465 6420 6279 2061 7574 686f 7241 3a0a ded by authorA:.
|
|
000000a0: 0a20 2020 2041 4141 0a20 2020 2041 4141 . AAA. AAA
|
|
000000b0: 2066 6f6f 0a20 2020 2041 4141 0a0a 0a64 foo. AAA...d
|
|
000000c0: 6573 6967 6e42 0a75 6e6b 6e6f 776e 2061 esignB.unknown a
|
|
000000d0: 7274 6973 742c 2063 6f64 6564 2062 7920 rtist, coded by
|
|
000000e0: 6175 7468 6f72 423a 0a0a 2020 2020 4242 authorB:.. BB
|
|
000000f0: 420a 2020 2020 4242 4220 666f 6f0a 2020 B. BBB foo.
|
|
00000100: 2020 4242 420a 0a0a 6465 7369 676e 430a BBB...designC.
|
|
00000110: 6465 7369 676e 6572 433a 0a0a 2020 2020 designerC:..
|
|
00000120: 4343 430a 2020 2020 4343 4320 666f 6f0a CCC. CCC foo.
|
|
00000130: 2020 2020 4343 430a 0a0a 6465 7369 676e CCC...design
|
|
00000140: 443a 0a0a 2020 2020 4444 440a 2020 2020 D:.. DDD.
|
|
00000150: 4444 4420 666f 6f0a 2020 2020 4444 440a DDD foo. DDD.
|
|
00000160: 0a0a 7461 6731 2028 3229 207c 2074 6167 ..tag1 (2) | tag
|
|
00000170: 3220 2831 290a 2 (1).
|
|
:EOF
|