[libhijk-perl] 05/06: Don't fail when we don't run the live tests, doh
Robin Sheat
eythian-guest at moszumanska.debian.org
Thu Feb 12 21:55:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
eythian-guest pushed a commit to annotated tag 0.18
in repository libhijk-perl.
commit 0110906d914add672f7e41e98033bf5e66b7b07d
Author: Ævar Arnfjörð Bjarmason <avarab at gmail.com>
Date: Wed Dec 10 13:24:27 2014 +0000
Don't fail when we don't run the live tests, doh
---
t/live-head-request.t | 2 +-
t/live-plack.t | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/live-head-request.t b/t/live-head-request.t
index 0416921..266268f 100644
--- a/t/live-head-request.t
+++ b/t/live-head-request.t
@@ -49,6 +49,6 @@ subtest "expect HEAD response without a Content-Length" => sub {
cmp_ok $res->{body}, "eq", "", "Got no body wit the HEAD response, also have no Content-Length";
};
-END { kill INT => $pid }
+END { kill INT => $pid if $pid }
done_testing;
diff --git a/t/live-plack.t b/t/live-plack.t
index c717e7d..b1d772c 100644
--- a/t/live-plack.t
+++ b/t/live-plack.t
@@ -47,6 +47,6 @@ subtest "do not expect timeout" => sub {
} 'local plack send back something within 10s';
};
-END { kill INT => $pid }
+END { kill INT => $pid if $pid }
done_testing;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhijk-perl.git
More information about the Pkg-perl-cvs-commits
mailing list