This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libhttp-tiny-perl.

commit 2d43e58b47c6e9244ec6279a83cf345a87d32ae5
Author: gregor herrmann <[email protected]>
Date:   Sat Jul 19 22:37:47 2014 +0200

    Add patch to run new test which needs internet only conditionally.
---
 debian/patches/series               |  1 +
 debian/patches/tests-internet.patch | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e7a562f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+tests-internet.patch
diff --git a/debian/patches/tests-internet.patch 
b/debian/patches/tests-internet.patch
new file mode 100644
index 0000000..f8254b5
--- /dev/null
+++ b/debian/patches/tests-internet.patch
@@ -0,0 +1,19 @@
+Description: run new test which needs internet access only conditionally
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <[email protected]>
+Last-Update: 2014-07-19
+
+--- a/t/002_croakage.t
++++ b/t/002_croakage.t
+@@ -35,8 +35,10 @@
+   like ($err, qr/\Q$usage{$method}\E/, join("|",@$c) );
+ }
+ 
++if ( $ENV{HAVE_INTERNET} ) {
+ my $res =  $http->get("http://www.example.com/";, { headers => { host => 
"www.example2.com" } } );
+ like( $res->{content}, qr/'Host' header/, "Providing a Host header is fatal" 
);
++}
+ 
+ done_testing;
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libhttp-tiny-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to