[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make check for grep 2.6.1.12 under cygwin fails for euc-mb
From: |
Shiva Iyer |
Subject: |
Re: make check for grep 2.6.1.12 under cygwin fails for euc-mb |
Date: |
Sun, 28 Mar 2010 18:07:27 -0400 |
Paolo, that is very likely. On my Debian box that has no additional locales
present, euc-mb and all the other MB tests are just skipped.
Shiva
On Sun, Mar 28, 2010 at 12:42 PM, Paolo Bonzini <address@hidden> wrote:
> On 03/28/2010 12:21 AM, Shiva Iyer wrote:
>
>> The following are the relevant lines from the error log.
>>
>> + path_prepend_ ../src
>> + test 1 '!=' 0
>> + path_dir_=../src
>> + case $path_dir_ in
>> ++ cd /home/siyer/grep/tests/../src
>> ++ echo /home/siyer/grep/src
>> + abs_path_dir_=/home/siyer/grep/src
>> + case $abs_path_dir_ in
>> +
>>
>> PATH='/home/siyer/grep/src:/home/siyer/grep/src:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDO
>> WS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program
>> Files/7-Zip:/usr/bin:/usr/lib/lapack'
>> + shift
>> + test 0 '!=' 0
>> + export PATH
>> + make_input BABA
>> + euc_grep AB
>> + echo BABA
>> ++ make_input AB
>> + tr AB '\244\263'
>> ++ echo AB
>> ++ tr AB '\244\263'
>> + pat=$'\244\263'
>> + LC_ALL=ja_JP.EUC-JP
>> + grep $'\244\263'
>> + make_input BABAAB
>> + echo BABAAB
>> + euc_grep AB
>> + tr AB '\244\263'
>> ++ make_input AB
>> ++ echo AB
>> ++ tr AB '\244\263'
>> + pat=$'\244\263'
>> + LC_ALL=ja_JP.EUC-JP
>> + grep $'\244\263'
>> + fail_ 'whole line rejected after matching in the middle of a multibyte
>> char'
>> + echo 'euc-mb: failed test: whole line rejected after matching in the
>> middle of a multibyte char'
>> euc-mb: failed test: whole line rejected after matching in the middle of a
>> multibyte char
>> + Exit 1
>> + set +e
>> + exit 1
>> + exit 1
>> + remove_tmp_
>> + __st=1
>> + cleanup_
>> + :
>> + cd /home/siyer/grep/tests
>> + chmod -R u+rwx /home/siyer/grep/tests/gt-euc-mb.oVDe
>> + rm -rf /home/siyer/grep/tests/gt-euc-mb.oVDe
>> + exit 1
>>
>
> This is probably a bug (or a missing feature) in Cygwin itself. It's
> probably possible however to find a better initial test to skip this
> testcase. Eric?
>
> Paolo
>