From 911b0b93f59f08566caabd4b9ee990d2f5af69d6 Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Thu, 25 Apr 2019 15:22:39 +0000
Subject: [PATCH] add more possible error messages (fix for #29)

---
 t/old-10errbuf.t | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/t/old-10errbuf.t b/t/old-10errbuf.t
index c0d4d9c..5a852e6 100644
--- a/t/old-10errbuf.t
+++ b/t/old-10errbuf.t
@@ -45,7 +45,9 @@ my $line = <$new_error>;
 like( $line, qr/^\*\s+(?:
     Protocol \s badprotocol \s not \s supported \s or \s disabled \s in \s libcurl |
     Unsupported \s protocol: \s badprotocol |
-    Rebuilt \s URL \s to: \s badprotocol:\/\/.+
+    Rebuilt \s URL \s to: \s badprotocol:\/\/.+ |
+    Closing \s connection \s -1 |
+    Could \s not \s resolve \s host: \s badprotocol
 )$/x, "Reading redirected STDERR" );
 
 unlink $tempname;
-- 
2.1.4

