Skip to content

Commit 1c4773e

Browse files
oech3pixelb
authored andcommitted
tests: ptx: ensure bad unicode is supported
* tests/ptx/ptx-overrun.sh: Ensure bad_unicode() is processed.
1 parent 5901e44 commit 1c4773e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/ptx/ptx-overrun.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
1919
print_ver_ ptx
2020

21-
# Ensure this input is processed
21+
# Ensure these inputs are processed
2222
printf '%s' '012345678901234567890123456789🛠' | ptx || fail=1
23+
bad_unicode | ptx || fail=1
2324

2425
# Trigger a heap-clobbering bug in ptx from coreutils-6.10 and earlier.
2526
# Using a long file name makes an abort more likely.

0 commit comments

Comments
 (0)