Kevin A. McGrail skrev den 2014-01-12 22:46:
But you asked about a locale pl. Any output you can share would help
because I do not see where sa is setting a locale of pl
t/lang_pl_tests.t change env from pl to POSIX, it refer to locale -m
output ?
there is no pl here in my locale -m output so this seems to be the
problem, i have tryed with POSIX and it worked with that test
pl_PL is valid glibc locale, but pl is not
unpack tarball
perl Makefile.PL
make disttest
there i go :)
resolved:
#!/usr/bin/perl
use lib '.'; use lib 't';
use SATest; sa_t_init("lang_pl_tests");
use Test; BEGIN { plan tests => 1 };
#
---------------------------------------------------------------------------
%patterns = (
q{ X-Spam-Status: }, 'didnt_hang_at_least',
);
$ENV{'PERL_BADLANG'} = 0; # Sweep problems under the rug
$ENV{'LANGUAGE'} = 'pl_PL';
$ENV{'LC_ALL'} = 'POSIX';
sarun ("-L -t < data/nice/004", \&patterns_run_cb);
ok_all_patterns();
no ?