mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
pr: add more tests for form feed and include page_width option W
This commit is contained in:
parent
4bf5b86cde
commit
a4b723233a
9 changed files with 400 additions and 143 deletions
3
tests/fixtures/pr/3a3f-0F
vendored
3
tests/fixtures/pr/3a3f-0F
vendored
|
@ -12,7 +12,8 @@
|
|||
8 9 3456789 ab 20 DEFGHI 123
|
||||
1 2 3
|
||||
4 5 6
|
||||
27 no truncation before 28 no trunc
|
||||
27 no truncation before 28 no trunc
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 5
|
||||
|
||||
|
|
52
tests/fixtures/pr/3f-0F
vendored
52
tests/fixtures/pr/3f-0F
vendored
|
@ -22,6 +22,7 @@
|
|||
6 12345678
|
||||
27 no truncation before FF; (r_l-test):
|
||||
28 no trunc
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 5
|
||||
|
@ -32,55 +33,4 @@
|
|||
1 12345678
|
||||
2 3456789 abcdefghi
|
||||
3 12345678
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
106
tests/fixtures/pr/W20l24f-ll
vendored
Normal file
106
tests/fixtures/pr/W20l24f-ll
vendored
Normal file
|
@ -0,0 +1,106 @@
|
|||
|
||||
|
||||
{last_modified_time} {file_name} Page 1
|
||||
|
||||
|
||||
1<<< -Test: FF's in
|
||||
2<<< -b -3 / -a -3
|
||||
3<<< >>>
|
||||
4<<< 123456789 1234
|
||||
|
||||
6<<< -Arangements:
|
||||
7<<< \f\f\n; text\f
|
||||
8<<< f\f\n; \f\n\f\
|
||||
9<<< >>>
|
||||
10<<< >>>
|
||||
1<<< >>>
|
||||
2<<< >>>
|
||||
3<<< truncation bef
|
||||
14<<< 123456789 123
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 2
|
||||
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 3
|
||||
|
||||
|
||||
15<<< xyzxyzxyz XYZ
|
||||
16<<< 123456789 xyz
|
||||
7<<< >>>
|
||||
8<<< >>>
|
||||
9<<< >>>
|
||||
20<<< >>>
|
||||
1<<< >>>
|
||||
|
||||
|
||||
4<<< >>>
|
||||
5<<< >>>
|
||||
6<<< >>>
|
||||
27<<< truncation be
|
||||
28<<< trunc
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 4
|
||||
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 5
|
||||
|
||||
|
||||
29<<<xyzxyzxyz XYZXY
|
||||
30<<< 123456789 xyz
|
||||
1<<< >>>
|
||||
2<<< abcdefghi >>>
|
||||
3<<< >>>
|
||||
4<<< >>>
|
||||
5<<< >>>
|
||||
6<<< >>>
|
||||
7<<< >>>
|
||||
8<<< >>>
|
||||
9<<< abcdefghi >>>
|
||||
40<<< 123456789 >>
|
||||
41<<< XYZXYZXYZ abc
|
||||
42<<< 123456789 abc
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 6
|
||||
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 7
|
||||
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 8
|
||||
|
||||
|
||||
43<<< xyzxyzxyz XYZ
|
||||
44<<< 123456789 xyz
|
||||
5<<< >>>
|
||||
6<<< >>>
|
||||
7<<< >>>
|
||||
8<<< >>>
|
||||
9<<< >>>
|
||||
50<<< >>>
|
||||
1<<< >>>
|
||||
2<<< >>>
|
||||
3<<< >>>
|
||||
4<<< >>>
|
||||
55<<< XYZXYZXYZ abc
|
||||
56<<< 123456789 abc
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 9
|
||||
|
||||
|
||||
57<<< xyzxyzxyz XYZ
|
||||
58<<< 123456789 xyz
|
||||
9<<< >>>
|
||||
60<<< 123456789 >>
|
||||
|
6
tests/fixtures/pr/a3-0F
vendored
6
tests/fixtures/pr/a3-0F
vendored
|
@ -3,7 +3,7 @@
|
|||
{last_modified_time} {file_name} Page 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -73,7 +73,7 @@
|
|||
4 3456789 123456789 123 5 3 Columns downwards 6 FF-Arangements: Emp
|
||||
7 \ftext; \f\ntext; 8 \f\ftext; \f\f\ntex 9 3456789 123456789 123
|
||||
10 zzzzzzzzzzzzzzzzzzz 1 2
|
||||
3 line truncation befor 14 456789 123456789 123
|
||||
3 line truncation befor 14 456789 123456789 123
|
||||
|
||||
|
||||
|
||||
|
@ -205,7 +205,7 @@
|
|||
8 9 3456789 ab 20 DEFGHI 123
|
||||
1 2 3
|
||||
4 5 6
|
||||
27 no truncation before 28 no trunc
|
||||
27 no truncation before 28 no trunc
|
||||
|
||||
|
||||
|
||||
|
|
8
tests/fixtures/pr/a3f-0F
vendored
8
tests/fixtures/pr/a3f-0F
vendored
|
@ -3,7 +3,7 @@
|
|||
{last_modified_time} {file_name} Page 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 2
|
||||
|
||||
|
@ -12,7 +12,8 @@
|
|||
4 3456789 123456789 123 5 3 Columns downwards 6 FF-Arangements: Emp
|
||||
7 \ftext; \f\ntext; 8 \f\ftext; \f\f\ntex 9 3456789 123456789 123
|
||||
10 zzzzzzzzzzzzzzzzzzz 1 2
|
||||
3 line truncation befor 14 456789 123456789 123
|
||||
3 line truncation befor 14 456789 123456789 123
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 3
|
||||
|
||||
|
@ -26,7 +27,8 @@
|
|||
8 9 3456789 ab 20 DEFGHI 123
|
||||
1 2 3
|
||||
4 5 6
|
||||
27 no truncation before 28 no trunc
|
||||
27 no truncation before 28 no trunc
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 5
|
||||
|
||||
|
|
202
tests/fixtures/pr/l24-FF
vendored
202
tests/fixtures/pr/l24-FF
vendored
|
@ -51,6 +51,30 @@
|
|||
{last_modified_time} {file_name} Page 3
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 4
|
||||
|
||||
|
||||
15 xyzxyzxyz XYZXYZXYZ abcabcab
|
||||
16 456789 123456789 xyzxyzxyz XYZXYZXYZ
|
||||
7 12345678
|
||||
|
@ -69,50 +93,26 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 4
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 5
|
||||
|
||||
|
||||
29 xyzxyzxyz XYZXYZXYZ abcabcab
|
||||
30 456789 123456789 xyzxyzxyz XYZXYZXYZ
|
||||
1 12345678
|
||||
2 3456789 abcdefghi
|
||||
3 12345678
|
||||
4 12345678
|
||||
5 12345678
|
||||
6 12345678
|
||||
7 12345678
|
||||
8 12345678
|
||||
9 3456789 abcdefghi
|
||||
40 DEFGHI 123456789
|
||||
41 yzxyzxyz XYZXYZXYZ abcabcab
|
||||
42 456789 123456789 abcdefghi ABCDEDFHI
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -147,20 +147,20 @@
|
|||
{last_modified_time} {file_name} Page 7
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
29 xyzxyzxyz XYZXYZXYZ abcabcab
|
||||
30 456789 123456789 xyzxyzxyz XYZXYZXYZ
|
||||
1 12345678
|
||||
2 3456789 abcdefghi
|
||||
3 12345678
|
||||
4 12345678
|
||||
5 12345678
|
||||
6 12345678
|
||||
7 12345678
|
||||
8 12345678
|
||||
9 3456789 abcdefghi
|
||||
40 DEFGHI 123456789
|
||||
41 yzxyzxyz XYZXYZXYZ abcabcab
|
||||
42 456789 123456789 abcdefghi ABCDEDFHI
|
||||
|
||||
|
||||
|
||||
|
@ -171,6 +171,78 @@
|
|||
{last_modified_time} {file_name} Page 8
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 9
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 10
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 11
|
||||
|
||||
|
||||
43 xyzxyzxyz XYZXYZXYZ abcabcab
|
||||
44 456789 123456789 xyzxyzxyz XYZXYZXYZ
|
||||
5 12345678
|
||||
|
@ -192,7 +264,31 @@
|
|||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 9
|
||||
{last_modified_time} {file_name} Page 12
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{last_modified_time} {file_name} Page 13
|
||||
|
||||
|
||||
57 xyzxyzxyz XYZXYZXYZ abcabcab
|
||||
|
|
56
tests/fixtures/pr/tFFt-ll
vendored
Normal file
56
tests/fixtures/pr/tFFt-ll
vendored
Normal file
|
@ -0,0 +1,56 @@
|
|||
1<<< -Test: FF's in Text >>>
|
||||
2<<< -b -3 / -a -3 / ... >>>
|
||||
3<<< >>>
|
||||
4<<< 123456789 123456789 123456789 123456789 123456789 123456789 123456789 >>>
|
||||
|
||||
6<<< -Arangements: One Empty Page >>>
|
||||
7<<< \f\f\n; text\f\n\ftext; \f\ftext; >>>
|
||||
8<<< f\f\n; \f\n\f\n; >>>
|
||||
9<<< >>>
|
||||
10<<< >>>
|
||||
1<<< >>>
|
||||
2<<< >>>
|
||||
3<<< truncation before FF; r_r_o_l-test: >>>
|
||||
14<<< 123456789 123456789 123456789 >>>15<<< xyzxyzxyz XYZXYZXYZ abcabcab >>>
|
||||
16<<< 123456789 xyzxyzxyz XYZXYZXYZ >>>
|
||||
7<<< >>>
|
||||
8<<< >>>
|
||||
9<<< >>>
|
||||
20<<< >>>
|
||||
1<<< >>>
|
||||
|
||||
|
||||
4<<< >>>
|
||||
5<<< >>>
|
||||
6<<< >>>
|
||||
27<<< truncation before FF; (r_l-test): >>>
|
||||
28<<< trunc29<<<xyzxyzxyz XYZXYZXYZ abcabcab >>>
|
||||
30<<< 123456789 xyzxyzxyz XYZXYZXYZ >>>
|
||||
1<<< >>>
|
||||
2<<< abcdefghi >>>
|
||||
3<<< >>>
|
||||
4<<< >>>
|
||||
5<<< >>>
|
||||
6<<< >>>
|
||||
7<<< >>>
|
||||
8<<< >>>
|
||||
9<<< abcdefghi >>>
|
||||
40<<< 123456789 >>>
|
||||
41<<< XYZXYZXYZ abcabcab >>>
|
||||
42<<< 123456789 abcdefghi ABCDEDFHI >>>43<<< xyzxyzxyz XYZXYZXYZ abcabcab >>>
|
||||
44<<< 123456789 xyzxyzxyz XYZXYZXYZ >>>
|
||||
5<<< >>>
|
||||
6<<< >>>
|
||||
7<<< >>>
|
||||
8<<< >>>
|
||||
9<<< >>>
|
||||
50<<< >>>
|
||||
1<<< >>>
|
||||
2<<< >>>
|
||||
3<<< >>>
|
||||
4<<< >>>
|
||||
55<<< XYZXYZXYZ abcabcab >>>
|
||||
56<<< 123456789 abcdefghi ABCDEDFHI >>>57<<< xyzxyzxyz XYZXYZXYZ abcabcab >>>
|
||||
58<<< 123456789 xyzxyzxyz XYZXYZXYZ >>>
|
||||
9<<< >>>
|
||||
60<<< 123456789 >>>
|
Loading…
Add table
Add a link
Reference in a new issue