From 4fc5dc0292acd77f17281f451774ba2ca4203026 Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Thu, 15 Sep 2022 18:56:20 +0900 Subject: 50629: do not use egrep in tests --- Test/Y01completion.ztst | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'Test/Y01completion.ztst') diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst index 6af0efc6d..f976f9f91 100644 --- a/Test/Y01completion.ztst +++ b/Test/Y01completion.ztst @@ -1,16 +1,7 @@ # Tests for completion system. %prep - unset -m LC_\* - ZSH_TEST_LANG= - 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 - ZSH_TEST_LANG=$LANG - break; - fi - done + ZSH_TEST_LANG=$(ZTST_find_UTF8) if ( zmodload zsh/zpty 2>/dev/null ); then . $ZTST_srcdir/comptest mkdir comp.tmp -- cgit v1.2.3