tests: cut: add case currently failing for coreutils-i18n patch

* tests/cut/cut.pl: Test for extraneous character output with:
printf 'aéb\n' | cut -s -d 'é' -f1 | od -tx1
This commit is contained in:
Pádraig Brady committed 2026-04-05 13:15:56 +01:00
1 parent 1cdc079860
commit bed93d46f8
1 file changed
+3
+3
View File
@@ -278,6 +278,9 @@ if ($mb_locale ne 'C')
['mb-delim-3', '-s', '-d', "\xc3\xa9", '-f2',
{IN=>"abc\n"}, {OUT=>""},
{ENV => "LC_ALL=$mb_locale"}],
['mb-delim-4', '-s', '-d', "\xc3\xa9", '-f1', # bug in coreutils-i18n
{IN=>"a\xc3\xa9b\n"}, {OUT=>"a\n"},
{ENV => "LC_ALL=$mb_locale"}],
['mb-w-delim-1', '-w', '-f2', {IN=>"a\xe2\x80\x83b\n"}, {OUT=>"b\n"},
{ENV => "LC_ALL=$mb_locale"}],
['mb-w-delim-2', '-sw', '-f2', {IN=>"a\xc2\xa0b\n"}, {OUT=>""},