fix relayclient test after commit b8baa4b91b
which added example IPv6 IPs to the config file
This commit is contained in:
parent
938f72dbbd
commit
f0c01a0412
@ -25,7 +25,9 @@ is($smtpd->config('me'), 'some.host.example.org', 'config("me")');
|
|||||||
# test for ignoring leading/trailing whitespace (relayclients has a
|
# test for ignoring leading/trailing whitespace (relayclients has a
|
||||||
# line with both)
|
# line with both)
|
||||||
my $relayclients = join ",", sort $smtpd->config('relayclients');
|
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 ) {
|
foreach my $f ( @mes ) {
|
||||||
unlink $f if -f $f;
|
unlink $f if -f $f;
|
||||||
|
Loading…
Reference in New Issue
Block a user