mirror of
https://git.proxmox.com/git/proxmox-spamassassin
synced 2025-08-05 11:03:59 +00:00
22 lines
397 B
Perl
Executable File
22 lines
397 B
Perl
Executable File
#!/usr/bin/perl -T
|
|
|
|
use lib '.'; use lib 't';
|
|
use SATest; sa_t_init("whitelist_to");
|
|
use Test::More tests => 1;
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
%patterns = (
|
|
|
|
q{ USER_IN_WHITELIST_TO }, 'hit-wl',
|
|
|
|
);
|
|
|
|
tstprefs ("
|
|
$default_cf_lines
|
|
whitelist_to announce*
|
|
");
|
|
|
|
sarun ("-L -t < data/nice/016", \&patterns_run_cb);
|
|
ok_all_patterns();
|