Op een zonnige winterdag (Saturday 22 February 2003 12:17), schreef Jos I. 
Boumans:

> Greetings,
>
> I'm running smoke tests on a BSDI 4.1 machine, and many tests in
> bleadperl are
> failing because the error output also contains:
>
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>          LC_ALL = "",
>          LANG = (unset)
>      are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
>
> This implies i have set LC_ALL to an empty string, but:
>
> bash-2.02$ perl -le'print 1 if exists $ENV{"LC_ALL"}'
> bash-2.02$
>
> it's not set at all...
>
> I've tried setting it /explicitly/ to LC_ALL=C in the mysmoke.sh file,
> but the warnings stay the same...

In order to provide a uniform environment for the testsuite during smoke, 
$ENV{LC_ALL} is localised for the "make test" phase in "mktest.pl", so it is 
empty (I hadn't realised that):

        ~$ perl -wle 'local $ENV{LC_ALL}; print qx/set | grep LC_ALL/'
        LC_ALL=

Perhaps I need to change the implementation for that and set its localised 
value to "C"?

Any thoughts?

Good luck,

Abe
-- 
I'm not convinced.  By setting up mock-ups you are not testing the
real thing: you are testing mock-ups.  It's really emptying shotguns
at decoys and concluding that yup, we are eating duck tonight.
                                   -- Jarkko Hietaniemi on p5p @ 2001-10-20

Reply via email to