File: 159_eol_control_lf_remove.txt

package info (click to toggle)
boxes 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,800 kB
  • sloc: ansic: 10,566; lex: 517; sh: 503; makefile: 309; yacc: 272; lisp: 78
file content (17 lines) | stat: -rw-r--r-- 310 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
:DESC
Test that the line terminator can be forced to LF on box removal.

:ENV
export BOXES_TEST_XXD=1
:ARGS
-f ../boxes-config -d c -e lf -r
:INPUT
/*******/
/* foo */
/* bar */
/*******/
:OUTPUT-FILTER
s/^.*([0-9a-fA-F]{4}):/0000\1:/
:EXPECTED
00000000: 666f 6f0a 6261 720a                      foo.bar.
:EOF