From: oech3 <79379754+oech3@users.noreply.github.com> Date: Sat, 7 Feb 2026 22:00:20 +0000 (+0000) Subject: tests: ptx: ensure bad unicode is supported X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c4773e6ec2db542f877995a275502a871590c54;p=thirdparty%2Fcoreutils.git tests: ptx: ensure bad unicode is supported * tests/ptx/ptx-overrun.sh: Ensure bad_unicode() is processed. --- diff --git a/tests/ptx/ptx-overrun.sh b/tests/ptx/ptx-overrun.sh index e8bdc6c7da..ff8b57ad55 100755 --- a/tests/ptx/ptx-overrun.sh +++ b/tests/ptx/ptx-overrun.sh @@ -18,8 +18,9 @@ . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src print_ver_ ptx -# Ensure this input is processed +# Ensure these inputs are processed printf '%s' '012345678901234567890123456789🛠' | ptx || fail=1 +bad_unicode | ptx || fail=1 # Trigger a heap-clobbering bug in ptx from coreutils-6.10 and earlier. # Using a long file name makes an abort more likely.