You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Peter Samuelson <pe...@p12n.org> on 2005/12/20 23:13:41 UTC

Re: svn commit: r17890 - trunk/tools/test-scripts/svntest

[lundblad@tigris.org]
> * tools/test-scripts/svntest/svntest-config.sh:
>   Set LC_MESSAGES to C to avoid message translation.

For testsuites it might be a good idea to set LC_COLLATE=C as well.
This matters if you depend on, e.g., whether or not the ordering of
'ls' or shell globs is case-sensitive.  (globs in bash, at least, use
locale-sensitive sorting.)

Peter

Re: svn commit: r17890 - trunk/tools/test-scripts/svntest

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Tue, 20 Dec 2005, Jim Blandy wrote:

> On 12/20/05, Peter Samuelson <pe...@p12n.org> wrote:
> > For testsuites it might be a good idea to set LC_COLLATE=C as well.
> > This matters if you depend on, e.g., whether or not the ordering of
> > 'ls' or shell globs is case-sensitive.  (globs in bash, at least, use
> > locale-sensitive sorting.)
>
> Don't you want to simply set LC_ALL?  That's defined to override all
> category-specific LC_* environment variables, including any new ones
> that might be introduced.  From POSIX 2003, Base Definitions:
>
Yeah, that's better.  I also set LANGUAGE, since at least GNU gettext puts
that value on top of the precedence hill...

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: r17890 - trunk/tools/test-scripts/svntest

Posted by Jim Blandy <ji...@red-bean.com>.
On 12/20/05, Peter Samuelson <pe...@p12n.org> wrote:
> For testsuites it might be a good idea to set LC_COLLATE=C as well.
> This matters if you depend on, e.g., whether or not the ordering of
> 'ls' or shell globs is case-sensitive.  (globs in bash, at least, use
> locale-sensitive sorting.)

Don't you want to simply set LC_ALL?  That's defined to override all
category-specific LC_* environment variables, including any new ones
that might be introduced.  From POSIX 2003, Base Definitions:

5653 LC_ALL This variable shall determine the values for all locale
categories. The value of
5654        the LC_ALL environment variable has precedence over any of the other
5655        environment variables starting with LC_ (LC_COLLATE, LC_CTYPE,
5656        LC_MESSAGES, LC_MONETARY, LC_NUMERIC, LC_TIME) and the LANG
5657        environment variable.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org