Eric Wong <e...@80x24.org> wrote:
> --- a/t/xap_helper.t
> +++ b/t/xap_helper.t
> @@ -52,8 +52,8 @@ my $doreq = sub {
>       my $buf = join("\0", @arg, '');
>       my @fds = fileno($y);
>       push @fds, fileno($err) if $err;
> -     my $n = PublicInbox::IPC::send_cmd($s, \@fds, $buf, 0);
> -     $n // xbail "send: $!";
> +     my $n = $PublicInbox::IPC::send_cmd->($s, \@fds, $buf, 0) //
> +             xbail "send: $!";

Erm, needs this to quiet a warning:

diff --git a/t/xap_helper.t b/t/xap_helper.t
index 27742cad..7890392d 100644
--- a/t/xap_helper.t
+++ b/t/xap_helper.t
@@ -7,7 +7,7 @@ require_mods(qw(DBD::SQLite Xapian +SCM_RIGHTS)); # TODO: FIFO 
support?
 use PublicInbox::Spawn qw(spawn);
 use Socket qw(AF_UNIX SOCK_SEQPACKET SOCK_STREAM);
 require PublicInbox::AutoReap;
-require PublicInbox::IPC;
+use PublicInbox::IPC;
 require PublicInbox::XapClient;
 use autodie;
 my ($tmp, $for_destroy) = tmpdir();

Will squash.

Reply via email to