about summary refs log tree commit homepage
path: root/t/v2writable.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-05-14 03:32:00 +0000
committerEric Wong <e@80x24.org>2019-05-14 03:43:21 +0000
commit46835d34029c92a2da886e5d0c17ec83cf86a209 (patch)
tree273aa752115d28b6464044432d55efd13b4ea8c2 /t/v2writable.t
parentd883d4a93b23be134038e28f421eafca70c3d838 (diff)
downloadpublic-inbox-46835d34029c92a2da886e5d0c17ec83cf86a209.tar.gz
PublicInbox::DS works for every platform we we care about,
nowadays; so checking for it is a waste of time.  Cleanup a
few POSIX and Socket imports while we're in the area.
Diffstat (limited to 't/v2writable.t')
-rw-r--r--t/v2writable.t7
1 files changed, 2 insertions, 5 deletions
diff --git a/t/v2writable.t b/t/v2writable.t
index 75110155..5f34d127 100644
--- a/t/v2writable.t
+++ b/t/v2writable.t
@@ -127,12 +127,9 @@ if ('ensure git configs are correct') {
                 'same document') if ($mset1->size);
 }
 
-SKIP: {
+{
         use Net::NNTP;
-        use IO::Socket;
-        use Socket qw(SO_KEEPALIVE IPPROTO_TCP TCP_NODELAY);
-        eval { require PublicInbox::DS };
-        skip "PublicInbox::DS missing $@", 2 if $@;
+        use IO::Socket::INET;
         my $err = "$mainrepo/stderr.log";
         my $out = "$mainrepo/stdout.log";
         my %opts = (