From 46835d34029c92a2da886e5d0c17ec83cf86a209 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 14 May 2019 03:32:00 +0000 Subject: tests: remove unnecessary loading of ::DS and Socket 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. --- t/v2writable.t | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 't/v2writable.t') 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 = ( -- cgit v1.2.3-24-ge0c7