coreutils
[Top][All Lists]
Advanced

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

Adding tests for non-C locales


From: Assaf Gordon
Subject: Adding tests for non-C locales
Date: Tue, 11 Dec 2012 11:21:02 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4

Hello,

I want to add tests for non-C locales (to check grouping in numfmt).

My test script is written in Perl, based on "tests/misc/wc.pl" .

It starts with:
===
   @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3;
===

Which is fine for most of the tests.

How do I add tests for non-C locale, in a safe manner (I need a locale that I 
know which thousand-group separator character is used, but I can't know in 
advanced if it's installed on the testing machine).

Thanks,
 -gordon



reply via email to

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