diff options
author | Brian Cully <bjc@kublai.com> | 2022-06-19 19:55:38 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2022-06-19 19:56:37 -0400 |
commit | f2820a509d91061b65fa32ec4e647cbd29760195 (patch) | |
tree | 7685f169b96a6b279c910e0021ca38538a124f9b /t/bin.t | |
parent | e8235e7264e467f6dd64587fbd26faad2f74cbbc (diff) | |
download | spamcat-f2820a509d91061b65fa32ec4e647cbd29760195.tar.gz spamcat-f2820a509d91061b65fa32ec4e647cbd29760195.zip |
Change to filter style from pipe.
Diffstat (limited to 't/bin.t')
-rwxr-xr-x | t/bin.t | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -22,7 +22,6 @@ BEGIN { die "Couldn't create $tmpdir/spamcat.conf: $!\n"; print $fh "DBPATH = $tmpdir/spamcat.sqlite3\n"; print $fh "DEFAULT_COUNT = 20\n"; - print $fh "DELIVER = t/delivert $tmpdir\n"; print $fh "DOMAINS = spamcat.example.com\n"; } @@ -39,8 +38,7 @@ my @dumpconfig = `$spamcat -c $conffile dumpconfig`; my %got = parse_configdump(@dumpconfig); my %expected = (DBPATH => '/tmp/spamcat.sqlite3', DEFAULT_COUNT => 10, - DELIVER => 't/delivert', - DOMAINS => "spamcat.example.com, spamcat2.example.com, spamcat3"); + DOMAINS => "spamcat.example.com, spamcat2.example.com, spamcat3"); is_deeply(\%got, \%expected); # Unknown senders have the default number of mails left. |