about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-05-03 10:34:08 +0000
committerEric Wong <e@80x24.org>2019-05-04 23:20:03 +0000
commitcd50d183273c105a7f08b1875ba6f7a51d9f8e9a (patch)
treede841ba448d2d3ed1d5e457fb5d015b6157e15d0 /t
parent48cd028855eb40557275a7e914da5cb3f847006c (diff)
downloadpublic-inbox-cd50d183273c105a7f08b1875ba6f7a51d9f8e9a.tar.gz
These modules are unmaintained upstream at the moment, but I'll
be able to help with the intended maintainer once/if CPAN
ownership is transferred.  OTOH, we've been waiting for that
transfer for several years, now...

Changes I intend to make:

* EPOLLEXCLUSIVE for Linux
* remove unused fields wasting memory
* kqueue bugfixes e.g. https://rt.cpan.org/Ticket/Display.html?id=116615
* accept4 support

And some lower priority experiments:

* switch to EV_ONESHOT / EPOLLONESHOT (incompatible changes)
* nginx-style buffering to tmpfile instead of string array
* sendfile off tmpfile buffers
* io_uring maybe?
Diffstat (limited to 't')
-rw-r--r--t/git-http-backend.t2
-rw-r--r--t/httpd-corner.t2
-rw-r--r--t/httpd-unix.t2
-rw-r--r--t/httpd.t2
-rw-r--r--t/nntp.t2
-rw-r--r--t/nntpd.t2
-rw-r--r--t/v2mirror.t2
-rw-r--r--t/v2writable.t4
8 files changed, 9 insertions, 9 deletions
diff --git a/t/git-http-backend.t b/t/git-http-backend.t
index 4e51f2bf..b616e822 100644
--- a/t/git-http-backend.t
+++ b/t/git-http-backend.t
@@ -11,7 +11,7 @@ use Cwd qw(getcwd);
 
 my $git_dir = $ENV{GIANT_GIT_DIR};
 plan 'skip_all' => 'GIANT_GIT_DIR not defined' unless $git_dir;
-foreach my $mod (qw(Danga::Socket BSD::Resource
+foreach my $mod (qw(PublicInbox::DS BSD::Resource
                         Plack::Util Plack::Builder
                         HTTP::Date HTTP::Status Net::HTTP)) {
         eval "require $mod";
diff --git a/t/httpd-corner.t b/t/httpd-corner.t
index aa0698d3..49c5d1fe 100644
--- a/t/httpd-corner.t
+++ b/t/httpd-corner.t
@@ -7,7 +7,7 @@ use warnings;
 use Test::More;
 use Time::HiRes qw(gettimeofday tv_interval);
 
-foreach my $mod (qw(Plack::Util Plack::Builder Danga::Socket
+foreach my $mod (qw(Plack::Util Plack::Builder PublicInbox::DS
                         HTTP::Date HTTP::Status IPC::Run)) {
         eval "require $mod";
         plan skip_all => "$mod missing for httpd-corner.t" if $@;
diff --git a/t/httpd-unix.t b/t/httpd-unix.t
index 0a93f204..627adfaf 100644
--- a/t/httpd-unix.t
+++ b/t/httpd-unix.t
@@ -5,7 +5,7 @@ use strict;
 use warnings;
 use Test::More;
 
-foreach my $mod (qw(Plack::Util Plack::Builder Danga::Socket
+foreach my $mod (qw(Plack::Util Plack::Builder PublicInbox::DS
                         HTTP::Date HTTP::Status)) {
         eval "require $mod";
         plan skip_all => "$mod missing for httpd-unix.t" if $@;
diff --git a/t/httpd.t b/t/httpd.t
index 44df1642..45cbcbfd 100644
--- a/t/httpd.t
+++ b/t/httpd.t
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 use Test::More;
 
-foreach my $mod (qw(Plack::Util Plack::Builder Danga::Socket
+foreach my $mod (qw(Plack::Util Plack::Builder PublicInbox::DS
                         HTTP::Date HTTP::Status)) {
         eval "require $mod";
         plan skip_all => "$mod missing for httpd.t" if $@;
diff --git a/t/nntp.t b/t/nntp.t
index 6df7db89..c39a05fa 100644
--- a/t/nntp.t
+++ b/t/nntp.t
@@ -5,7 +5,7 @@ use warnings;
 use Test::More;
 use Data::Dumper;
 
-foreach my $mod (qw(DBD::SQLite Search::Xapian Danga::Socket)) {
+foreach my $mod (qw(DBD::SQLite Search::Xapian PublicInbox::DS)) {
         eval "require $mod";
         plan skip_all => "$mod missing for nntp.t" if $@;
 }
diff --git a/t/nntpd.t b/t/nntpd.t
index 6b13f81e..ecfd74f7 100644
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 use Test::More;
-foreach my $mod (qw(DBD::SQLite Search::Xapian Danga::Socket)) {
+foreach my $mod (qw(DBD::SQLite Search::Xapian PublicInbox::DS)) {
         eval "require $mod";
         plan skip_all => "$mod missing for nntpd.t" if $@;
 }
diff --git a/t/v2mirror.t b/t/v2mirror.t
index ef9a5405..eaf9e61d 100644
--- a/t/v2mirror.t
+++ b/t/v2mirror.t
@@ -7,7 +7,7 @@ require './t/common.perl';
 require_git(2.6);
 
 # Integration tests for HTTP cloning + mirroring
-foreach my $mod (qw(Plack::Util Plack::Builder Danga::Socket
+foreach my $mod (qw(Plack::Util Plack::Builder PublicInbox::DS
                         HTTP::Date HTTP::Status Search::Xapian DBD::SQLite
                         IPC::Run)) {
         eval "require $mod";
diff --git a/t/v2writable.t b/t/v2writable.t
index f1714175..06b22519 100644
--- a/t/v2writable.t
+++ b/t/v2writable.t
@@ -134,8 +134,8 @@ SKIP: {
         use Net::NNTP;
         use IO::Socket;
         use Socket qw(SO_KEEPALIVE IPPROTO_TCP TCP_NODELAY);
-        eval { require Danga::Socket };
-        skip "Danga::Socket missing $@", 2 if $@;
+        eval { require PublicInbox::DS };
+        skip "PublicInbox::DS missing $@", 2 if $@;
         my $err = "$mainrepo/stderr.log";
         my $out = "$mainrepo/stdout.log";
         my %opts = (