We already tested all corner cases for two-byte and three-byte UTF-8
authorschwarze <schwarze@openbsd.org>
Thu, 1 Jul 2021 10:00:15 +0000 (10:00 +0000)
committerschwarze <schwarze@openbsd.org>
Thu, 1 Jul 2021 10:00:15 +0000 (10:00 +0000)
commit06284b46d5987f19789d4089cf0dac86cec7f0e7
tree8cd8a6c9c97e1295682b05c77f997d10948bddb1
parent5cfd2709fa3f9a61d558c27c7c23d8ca80733d60
We already tested all corner cases for two-byte and three-byte UTF-8
sequences, but coverage of four-byte sequences was incomplete, which
contributed to the recently fixed ksh(1) emacs.c bug not being found
for some time.

Consequently, add some tests covering
+ valid sequences starting with \0360, \0361, and \0363;
+ incomplete sequences starting with \0360 and \0361;
+ invalid (too low) sequences starting with \0360.

OK anton@
regress/bin/ksh/edit/emacs.sh