diff options
author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2022-09-15 18:56:20 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2022-09-15 18:56:20 +0900 |
commit | 4fc5dc0292acd77f17281f451774ba2ca4203026 (patch) | |
tree | 25f6306c5a417ae135102ec02a3d725e9c14a10f /Test/X03zlebindkey.ztst | |
parent | eb738c793a6f9f293fc655c6aa87effc3dd9e44f (diff) | |
download | zsh-4fc5dc0292acd77f17281f451774ba2ca4203026.tar.gz zsh-4fc5dc0292acd77f17281f451774ba2ca4203026.tar.xz zsh-4fc5dc0292acd77f17281f451774ba2ca4203026.zip |
50629: do not use egrep in tests
Diffstat (limited to 'Test/X03zlebindkey.ztst')
-rw-r--r-- | Test/X03zlebindkey.ztst | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Test/X03zlebindkey.ztst b/Test/X03zlebindkey.ztst index 43692a85b..5277332a7 100644 --- a/Test/X03zlebindkey.ztst +++ b/Test/X03zlebindkey.ztst @@ -3,16 +3,7 @@ # into bindings. The latter is particularly tricky with multibyte sequences. %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 comptestinit -z $ZTST_testdir/../Src/zsh |