From: Pádraig Brady Date: Thu, 12 Mar 2026 15:50:04 +0000 (+0000) Subject: tests: cut: add case currently failing for coreutils-i18n patch X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bed93d46f876cc1bb98ea10507b76d1c3ddb61ac;p=thirdparty%2Fcoreutils.git 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 --- diff --git a/tests/cut/cut.pl b/tests/cut/cut.pl index d9dc0fc26b..4c219c9261 100755 --- a/tests/cut/cut.pl +++ b/tests/cut/cut.pl @@ -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=>""},