]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/nntpd.t
remove hard Devel::Peek dependency and lazy load for daemons
[public-inbox.git] / t / nntpd.t
index 6b13f81e7679f77a893442de74fadb4a48f0308e..b8a84a0c2c003b00ae681e8cd0bda94e8c57f517 100644 (file)
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -3,16 +3,15 @@
 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)) {
        eval "require $mod";
        plan skip_all => "$mod missing for nntpd.t" if $@;
 }
 require PublicInbox::SearchIdx;
 require PublicInbox::Msgmap;
-use Cwd;
 use Email::Simple;
 use IO::Socket;
-use Socket qw(SO_KEEPALIVE IPPROTO_TCP TCP_NODELAY);
+use Socket qw(IPPROTO_TCP TCP_NODELAY);
 use File::Temp qw/tempdir/;
 use Net::NNTP;
 use Sys::Hostname;