bug-grep
[Top][All Lists]
Advanced

[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: Paolo Bonzini
Subject: Re: make check for grep 2.6.1.12 under cygwin fails for euc-mb
Date: Sun, 28 Mar 2010 18:42:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]