From 127b8135641d96280b4430fddb28da796b08612f Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Tue, 12 Jan 2016 16:56:34 +0100
Subject: [PATCH] workaround for LDAP problem, see RT #111127

---
 t/nntp_ssl.t |    2 ++
 t/pop3_ssl.t |    2 ++
 t/smtp_ssl.t |    2 ++
 3 files changed, 6 insertions(+)

diff --git a/t/nntp_ssl.t b/t/nntp_ssl.t
index e6a4fe5..1607f72 100644
--- a/t/nntp_ssl.t
+++ b/t/nntp_ssl.t
@@ -10,6 +10,8 @@ use File::Temp 'tempfile';
 use Net::NNTP;
 use Test::More;
 
+$SIG{PIPE}='IGNORE';
+
 my $debug = 0; # Net::NNTP Debug => ..
 
 my $parent = 0;
diff --git a/t/pop3_ssl.t b/t/pop3_ssl.t
index 356de40..2ce2f34 100644
--- a/t/pop3_ssl.t
+++ b/t/pop3_ssl.t
@@ -10,6 +10,8 @@ use File::Temp 'tempfile';
 use Net::POP3;
 use Test::More;
 
+$SIG{PIPE}='IGNORE';
+
 my $debug = 0; # Net::POP3 Debug => ..
 
 my $parent = 0;
diff --git a/t/smtp_ssl.t b/t/smtp_ssl.t
index 7290176..c2f54da 100644
--- a/t/smtp_ssl.t
+++ b/t/smtp_ssl.t
@@ -10,6 +10,8 @@ use File::Temp 'tempfile';
 use Net::SMTP;
 use Test::More;
 
+$SIG{PIPE}='IGNORE';
+
 my $debug = 0; # Net::SMTP Debug => ..
 
 my $parent = 0;
-- 
1.7.9.5