https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6992

            Bug ID: 6992
           Summary: t/lang_pl_tests.t fails due to LC_ALL set to pl
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: PC
                OS: Windows 7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Regression Tests
          Assignee: [email protected]
          Reporter: [email protected]

>From Benny Penderson:

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();

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to