Subject: [PATCH] Use any available UTF-8 locale in t0251; skip if none found

From: Kerin Millar <[email-masked]>
Date: Sun, 29 Jan 2023 00:53:32 +0000

Hello,

The attached patch rectifies a spurious test failure reported at https://bugs.gentoo.org/753677. It increases tremendously the likelihood that test t0251 can be properly conducted by using any available UTF-8 locale for the purpose of defining the system character type, while skipping the test in the event that no such locale can be found rather than assume - potentially incorrectly - that either of en_US.UTF-8 and C.UTF-8 are available.

-- 
Kerin Millar