fix relayclient test after commit b8baa4b91b

which added example IPv6 IPs to the config file
This commit is contained in:
Matt Simerson 2012-11-14 17:57:56 -05:00
parent 24ad1184ca
commit 21ce00cc90

View File

@ -25,7 +25,9 @@ is($smtpd->config('me'), 'some.host.example.org', 'config("me")');
# test for ignoring leading/trailing whitespace (relayclients has a
# line with both)
my $relayclients = join ",", sort $smtpd->config('relayclients');
is($relayclients, '127.0.0.1,192.0.', 'config("relayclients") are trimmed');
is($relayclients,
'127.0.0.1,192.0.,2001:0DB8:0000:0000:0000:0000:0000:0001,2001:DB8,2001:DB8::1',
'config("relayclients") are trimmed');
foreach my $f ( @mes ) {
unlink $f if -f $f;