util-linux/tests/expected/column
Patrick Steinhardt 6ef9a9e184 tests: (column) use actually invalid multibytes to test encoding
If reading an invalid multibyte sequence, column(1) will encode the byte
as "\x<hex>" instead. The tests try to verify that by piping "£" into
column(1). As the tests run with LC_ALL=POSIX by default, though, libc
implementations strictly adhering to the POSIX standard will treat all
characters as valid multibyte characters. As a consequence, no EILSEQ is
raised by mbtowc(3P) and the character is not encoded as hex, breaking
the test.

Fix this by setting LC_ALL=C.UTF-8. As "£" is a valid UTF-8 character,
we also change the test to use a proper illegal multibyte sequence.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
2019-08-27 09:36:50 +02:00
..
columnate tests: add column(1) columnate test 2017-05-02 12:17:59 +02:00
columnate-fill-cols-50 tests: add column(1) columnate test 2017-05-02 12:17:59 +02:00
columnate-fill-cols-80 tests: add column(1) columnate test 2017-05-02 12:17:59 +02:00
columnate-fill-cols-250 tests: add column(1) columnate test 2017-05-02 12:17:59 +02:00
columnate-fill-rows-50 tests: add column(1) columnate test 2017-05-02 12:17:59 +02:00
columnate-fill-rows-80 tests: add column(1) columnate test 2017-05-02 12:17:59 +02:00
columnate-fill-rows-250 tests: add column(1) columnate test 2017-05-02 12:17:59 +02:00
invalid-multibyte tests: (column) use actually invalid multibytes to test encoding 2019-08-27 09:36:50 +02:00
multi-file tests: test column(1) with multiple input files 2011-05-26 10:30:23 +02:00
separator_table
table tests: add column(1) table test 2017-05-02 12:18:00 +02:00
table-default tests: add column(1) table test 2017-05-02 12:18:00 +02:00
table-empty-column tests: add empty column test 2018-06-04 15:27:54 +02:00
table-empty-column-at-eol column: fix outputing empty column at the end of line 2019-07-29 10:33:58 +02:00
table-empty-column-at-eol2 column: fix outputing empty column at the end of line 2019-07-29 10:33:58 +02:00
table-empty-lines tests: add column --table-empty-lines test 2018-08-23 13:41:05 +02:00
table-headers tests: add tests for new column features 2017-05-02 12:18:00 +02:00
table-hide tests: add tests for new column features 2017-05-02 12:18:00 +02:00
table-input-separator tests: column(1) test non-space separator at begin of line 2018-02-12 14:14:50 +01:00
table-input-separator-space tests: update column(1) space-separator test 2018-03-27 11:52:54 +02:00
table-long tests: add tests for new column features 2017-05-02 12:18:00 +02:00
table-noempty-lines tests: add column --table-empty-lines test 2018-08-23 13:41:05 +02:00
table-order tests: add tests for new column features 2017-05-02 12:18:00 +02:00
table-output-separator tests: add column(1) table test 2017-05-02 12:18:00 +02:00
table-right tests: add tests for new column features 2017-05-02 12:18:00 +02:00
table-tree tests: add tests for new column features 2017-05-02 12:18:00 +02:00
table-truncate tests: add tests for new column features 2017-05-02 12:18:00 +02:00
table-wrap tests: add tests for new column features 2017-05-02 12:18:00 +02:00