bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: [gawk] bug with testcase mbfw1


From: Aharon Robbins
Subject: Re: [gawk] bug with testcase mbfw1
Date: Fri, 02 May 2008 12:16:27 +0300

It works for me with LC_ALL=C, but I think you're right that the locale
should be set explicitly. I'll get the patch into CVS soon.

Thanks,

Arnold

> Date: Fri, 02 May 2008 04:52:23 +0200
> From: Steffen Schuler <address@hidden>
> Subject: [gawk] bug with testcase mbfw1
> To: address@hidden
>
> Hi,
>
> here a bug in the current CVS-version with gawk/make check and its tested
> patch:
>
>   $ cd gawk-stable
>   $ ./configure
>   $ make
>   $ make check
>   [snip]
>   mbfw1
>   ./mbfw1.ok _mbfw1 differ: byte 6, line 2
>   [snip]
>
> The bug originates from not using locale en_US.UTF-8 in the testcase mbfw1.
> Here an easy patch for that:
>
> --
> Steffen
>
> -------------------8<------------------------------------------
> --- gawk-3.1.6a/test/Makefile.am    2008-04-23 21:36:13.000000000 +0200
> +++ gawk-3.1.6a.fixed/test/Makefile.am    2008-05-02 04:21:34.000000000
> +0200
> @@ -1170,6 +1170,12 @@
>      $(AWK) -f $(srcdir)/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >> 
> _$@
>      @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
>
> +mbfw1::
> +    @echo $@
> +    @GAWKLOCALE=en_US.UTF-8 ; export GAWKLOCALE ; \
> +    $(AWK) -f $(srcdir)/address@hidden $(srcdir)/address@hidden >_$@ 2>&1 || 
> echo EXIT CODE:
> $$? >> _$@
> +    @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
> +
>
>  # Targets generated for other tests:
>  include Maketests




reply via email to

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