]> Kevux Git Server - rit/commit
t7810: turn MB_REGEX check into a lazy prereq
authorPatrick Steinhardt <ps@pks.im>
Thu, 4 Jun 2026 10:07:35 +0000 (12:07 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Jun 2026 12:49:00 +0000 (21:49 +0900)
commitb1688db759de18a8403945090688b8cc25ba26dd
treec397cf1262bb70647f21509527394308ed0311e3
parentbf3ed750cb4479db9e8193ae1937b2723054ce48
t7810: turn MB_REGEX check into a lazy prereq

In t7810 we verify whether the system has proper multibyte locale
support by executing `test-tool regex` with a unicode character. When
this check fails though we'll output an error that breaks the TAP
format.

Fix this issue by turning the logic into a lazy prerequisite.

Reported-by: Jeff King <peff@peff.net>
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7810-grep.sh