diff options
Diffstat (limited to 'Test/D07multibyte.ztst')
-rw-r--r-- | Test/D07multibyte.ztst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst index fb3161d97..ec7def8b7 100644 --- a/Test/D07multibyte.ztst +++ b/Test/D07multibyte.ztst @@ -5,8 +5,8 @@ # Don't let LC_* override our choice of locale. unset -m LC_\* mb_ok= - langs=(en_US.UTF-8 en_GB.UTF-8 en.UTF-8 - $(locale -a 2>/dev/null | sed -e 's/utf8/UTF-8/' | grep UTF-8)) + langs=(en_{US,GB}.{UTF-,utf}8 en.UTF-8 + $(locale -a 2>/dev/null | egrep 'utf8|UTF-8')) for LANG in $langs; do if [[ é = ? ]]; then mb_ok=1 |