aboutsummaryrefslogtreecommitdiffstats
path: root/t/bin.t
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2022-06-19 19:55:38 -0400
committerBrian Cully <bjc@kublai.com>2022-06-19 19:56:37 -0400
commitf2820a509d91061b65fa32ec4e647cbd29760195 (patch)
tree7685f169b96a6b279c910e0021ca38538a124f9b /t/bin.t
parente8235e7264e467f6dd64587fbd26faad2f74cbbc (diff)
downloadspamcat-f2820a509d91061b65fa32ec4e647cbd29760195.tar.gz
spamcat-f2820a509d91061b65fa32ec4e647cbd29760195.zip
Change to filter style from pipe.
Diffstat (limited to 't/bin.t')
-rwxr-xr-xt/bin.t4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/bin.t b/t/bin.t
index 2c59e20..2bfb451 100755
--- a/t/bin.t
+++ b/t/bin.t
@@ -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.