From f0c01a04127a9821499e5d9d508bc5075e5943a5 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Wed, 14 Nov 2012 17:57:56 -0500 Subject: [PATCH] fix relayclient test after commit b8baa4b91b which added example IPv6 IPs to the config file --- t/config.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/config.t b/t/config.t index 8b6b11e..975e8d5 100644 --- a/t/config.t +++ b/t/config.t @@ -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;