2021-04-10 21:13:28 +02:00
|
|
|
:DESC
|
|
|
|
Test that the line terminator can be forced to CRLF in the design details output.
|
|
|
|
|
|
|
|
:ENV
|
|
|
|
export BOXES_TEST_XXD=1
|
|
|
|
:ARGS
|
|
|
|
-f ../boxes-config -l -d c -e crlf
|
|
|
|
:INPUT
|
|
|
|
:OUTPUT-FILTER
|
|
|
|
s/^.*([0-9a-fA-F]{4}):/0000\1:/
|
|
|
|
:EXPECTED
|
|
|
|
00000000: 436f 6d70 6c65 7465 2044 6573 6967 6e20 Complete Design
|
|
|
|
00000010: 496e 666f 726d 6174 696f 6e20 666f 7220 Information for
|
|
|
|
00000020: 2263 223a 0d0a 2d2d 2d2d 2d2d 2d2d 2d2d "c":..----------
|
|
|
|
00000030: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d ----------------
|
|
|
|
00000040: 2d2d 2d2d 2d2d 2d2d 2d2d 0d0a 416c 6961 ----------..Alia
|
|
|
|
00000050: 7320 4e61 6d65 733a 2020 2020 2020 2020 s Names:
|
|
|
|
00000060: 2020 2020 6e6f 6e65 0d0a 4175 7468 6f72 none..Author
|
|
|
|
00000070: 3a20 2020 2020 2020 2020 2020 2020 2020 :
|
|
|
|
00000080: 2020 5468 6f6d 6173 204a 656e 7365 6e0d Thomas Jensen.
|
|
|
|
00000090: 0a4f 7269 6769 6e61 6c20 4465 7369 676e .Original Design
|
|
|
|
000000a0: 6572 3a20 2020 2020 2028 7075 626c 6963 er: (public
|
2024-02-04 20:48:32 +01:00
|
|
|
000000b0: 2064 6f6d 6169 6e29 0d0a 436f 6e66 6967 domain)..Config
|
|
|
|
000000c0: 7572 6174 696f 6e20 4669 6c65 3a20 2020 uration File:
|
|
|
|
000000d0: 2020 2e2e 2f62 6f78 6573 2d63 6f6e 6669 ../boxes-confi
|
|
|
|
000000e0: 670d 0a49 6e64 656e 7461 7469 6f6e 204d g..Indentation M
|
|
|
|
000000f0: 6f64 653a 2020 2020 2020 2062 6f78 2028 ode: box (
|
|
|
|
00000100: 696e 6465 6e74 2062 6f78 290d 0a52 6570 indent box)..Rep
|
|
|
|
00000110: 6c61 6365 6d65 6e74 2052 756c 6573 3a20 lacement Rules:
|
|
|
|
00000120: 2020 2020 2031 2e20 2867 6c6f 6229 2022 1. (glob) "
|
|
|
|
00000130: 5c2a 2f22 2057 4954 4820 222a 5c5c 2f22 \*/" WITH "*\\/"
|
|
|
|
00000140: 0d0a 5265 7665 7273 696f 6e20 5275 6c65 ..Reversion Rule
|
|
|
|
00000150: 733a 2020 2020 2020 2020 312e 2028 676c s: 1. (gl
|
|
|
|
00000160: 6f62 2920 225c 2a5c 5c2f 2220 544f 2022 ob) "\*\\/" TO "
|
|
|
|
00000170: 2a2f 220d 0a4d 696e 696d 756d 2042 6f78 */"..Minimum Box
|
|
|
|
00000180: 2044 696d 656e 7369 6f6e 733a 2035 2078 Dimensions: 5 x
|
|
|
|
00000190: 2033 2020 2877 6964 7468 2078 2068 6569 3 (width x hei
|
|
|
|
000001a0: 6768 7429 0d0a 4465 6661 756c 7420 5061 ght)..Default Pa
|
|
|
|
000001b0: 6464 696e 673a 2020 2020 2020 2020 6c65 dding: le
|
|
|
|
000001c0: 6674 2031 2c20 7269 6768 7420 310d 0a44 ft 1, right 1..D
|
|
|
|
000001d0: 6566 6175 6c74 204b 696c 6c62 6c61 6e6b efault Killblank
|
|
|
|
000001e0: 3a20 2020 2020 2079 6573 0d0a 5461 6773 : yes..Tags
|
|
|
|
000001f0: 3a20 2020 2020 2020 2020 2020 2020 2020 :
|
|
|
|
00000200: 2020 2020 7369 6d70 6c65 2c20 7072 6f67 simple, prog
|
|
|
|
00000210: 7261 6d6d 696e 672c 2062 6f78 0d0a 456c ramming, box..El
|
|
|
|
00000220: 6173 7469 6320 5368 6170 6573 3a20 2020 astic Shapes:
|
|
|
|
00000230: 2020 2020 2020 4e2c 2045 2c20 532c 2057 N, E, S, W
|
|
|
|
00000240: 0d0a 4465 6669 6e65 6420 5368 6170 6573 ..Defined Shapes
|
|
|
|
00000250: 3a20 2020 2020 2020 2020 204e 573a 2022 : NW: "
|
|
|
|
00000260: 2f2a 2220 0d0a 2020 2020 2020 2020 2020 /*" ..
|
|
|
|
00000270: 2020 2020 2020 2020 2020 2020 2020 2020
|
|
|
|
00000280: 4e3a 2022 2a22 200d 0a20 2020 2020 2020 N: "*" ..
|
|
|
|
00000290: 2020 2020 2020 2020 2020 2020 2020 2020
|
|
|
|
000002a0: 2020 4e45 3a20 222a 2f22 200d 0a20 2020 NE: "*/" ..
|
|
|
|
000002b0: 2020 2020 2020 2020 2020 2020 2020 2020
|
|
|
|
000002c0: 2020 2020 2020 2045 3a20 222a 2f22 200d E: "*/" .
|
|
|
|
000002d0: 0a20 2020 2020 2020 2020 2020 2020 2020 .
|
|
|
|
000002e0: 2020 2020 2020 2020 2020 5345 3a20 222a SE: "*
|
|
|
|
000002f0: 2f22 200d 0a20 2020 2020 2020 2020 2020 /" ..
|
|
|
|
00000300: 2020 2020 2020 2020 2020 2020 2020 2053 S
|
|
|
|
00000310: 3a20 222a 2220 0d0a 2020 2020 2020 2020 : "*" ..
|
|
|
|
00000320: 2020 2020 2020 2020 2020 2020 2020 2020
|
|
|
|
00000330: 2053 573a 2022 2f2a 2220 0d0a 2020 2020 SW: "/*" ..
|
|
|
|
00000340: 2020 2020 2020 2020 2020 2020 2020 2020
|
|
|
|
00000350: 2020 2020 2020 573a 2022 2f2a 2220 0d0a W: "/*" ..
|
2021-04-10 21:13:28 +02:00
|
|
|
:EOF
|