bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Autoconf 2.59c] testsuite: 57 80 ... 225 failed


From: Stepan Kasal
Subject: Re: [GNU Autoconf 2.59c] testsuite: 57 80 ... 225 failed
Date: Tue, 7 Jun 2005 22:01:14 +0200
User-agent: Mutt/1.4.1i

Hello,

On Tue, Jun 07, 2005 at 07:28:11PM +0200, Ralf Menzel wrote:
> -    { $GREP -v \
> +    { $EGREP -v \
>  '^\(ac\|as\)_
>  ^\(PPID\|RANDOM\|SECONDS\|'\'\\\$\''\)=
>  ^[[^=]]*=$'        $act_file
> --- snip ---
> 
> Yes, that's all one 'E' makes the difference between over one hundred
> test cases failing or succeeding.

no, this means you are cheating: in egrep, regexp  \(ac\|as\)_
would match string  (ac|as)_    -- but that's not what we want to check.
You have to adapt the regular expressions for egrep.

See macro AT_CHECK_ENV for an interesting example related to this.

BTW: AT_CHECK_ENV uses $GREP -E, not $EGREP.  Do you know why?
Shouldn't $EGREP be more portable?

Have a nice day,
        Stepan Kasal




reply via email to

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