X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fv2mirror.t;h=12e3fcd0403600b891e4868a0ec7fb8e4a81f989;hb=860169adcd29341142b7c4a369c09b4ac492bd1e;hp=ebad2566605a79dbbc25d2689e67deba4564da66;hpb=fb6aa4da304125a3fb7932e1335be85ff260e031;p=public-inbox.git diff --git a/t/v2mirror.t b/t/v2mirror.t index ebad2566..12e3fcd0 100644 --- a/t/v2mirror.t +++ b/t/v2mirror.t @@ -64,10 +64,9 @@ $v2w->done; $ibx->cleanup; my $sock = tcp_server(); -ok($sock, 'sock created'); my $cmd = [ '-httpd', '-W0', "--stdout=$tmpdir/out", "--stderr=$tmpdir/err" ]; my $td = start_script($cmd, undef, { 3 => $sock }); -my ($host, $port) = ($sock->sockhost, $sock->sockport); +my ($host, $port) = tcp_host_port($sock); $sock = undef; my @cmd;