[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: run-cond test fails
From:       Roman Rakus <rrakus () redhat ! com>
Date:       2010-01-22 12:14:19
Message-ID: 4B59969B.1080800 () redhat ! com
[Download RAW message or body]

On 01/22/2010 01:09 PM, Roman Rakus wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' 
> -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale' 
> -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include 
> -I./lib  -D_GNU_SOURCE -DRECYCLES_PIDS  -O2 -g -pipe -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
> --param=ssp-buffer-size=4 -m64 -mtune=generic
> uname output: Linux dhcp-lab-170.englab.brq.redhat.com 
> 2.6.30.10-105.fc11.x86_64 #1 SMP Thu Dec 24 16:41:51 UTC 2009 x86_64 
> x86_64 x86_64 GNU/Linux
> Machine Type: x86_64-unknown-linux-gnu
>
> Bash Version: 4.1
> Patch Level: 0
> Release Status: release
>
> Description:
>     run-cond test is failing at this:
> # test the regular expression conditional operator
> [[ jbig2dec-0.9-i586-001.tgz =~ 
> ([^-]+)-([^-]+)-([^-]+)-0*([1-9][0-9]*)\.tgz ]]
> echo ${BASH_REMATCH[1]}
>
> # this shouldn't echo anything
> [[ jbig2dec-0.9-i586-001.tgz =~ 
> \([^-]+\)-\([^-]+\)-\([^-]+\)-0*\([1-9][0-9]*\)\.tgz ]]
> echo ${BASH_REMATCH[1]}
>
> second also echoes jbig2dec
>
> Appropriate part of make check:
> ...
> run-cond
> warning: all of these tests will fail if the conditional command has not
> warning: been compiled into the shell
> warning: some of these tests will fail if extended pattern matching 
> has not
> warning: been compiled into the shell
> 37c37
> < jbig2dec
> ---
> >
> 44a45
> > match 2
> 46a48
> > match 5
> 55a58
> > rematch 1
> run-coproc
> ...
>
> Repeat-By:
>     make check
>
> Fix:
>    tried with --enable-cond-command --enable-cond-regexp but no 
> success. Has it been fixed or just added test? Any hint where can I 
> start to find the problem?
>
> RR
>
>
Please ignore. Fail is at my side.
RR



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic