From: Matt S Trout Date: Mon, 11 Aug 2014 18:16:22 +0000 (+0000) Subject: Make watchdog test handle death-by-send as well as death-by-receive X-Git-Tag: v0.003003~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=00de75a1ac52ad657b5987d6510233433f0b6d04;p=scpubgit%2FObject-Remote.git Make watchdog test handle death-by-send as well as death-by-receive --- diff --git a/Changes b/Changes index e5fa5af..5f2b87f 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,4 @@ + - Make watchdog test handle death-by-send as well as death-by-receive - Use newer Future API, fix broken test 0.003002 - 2013-03-19 diff --git a/t/watchdog.t b/t/watchdog.t index 22e29ce..bd8f576 100644 --- a/t/watchdog.t +++ b/t/watchdog.t @@ -19,7 +19,7 @@ alarm(3); eval { $remote->hang }; -like($@, qr/^Object::Remote connection lost: eof/, "Correct error message"); +like($@, qr/^Object::Remote connection lost: (?:eof|.*Broken pipe)/, "Correct error message"); done_testing;