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 dd47281b0c570773ee68d75cbc800408db30d5a4 Author: gregor herrmann <gre...@debian.org> Date: Thu Aug 13 17:53:21 2015 +0200 change environment variable for disabling network tests Gbp-Dch: Ignore --- debian/patches/tests-internet.patch | 2 +- debian/rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/patches/tests-internet.patch b/debian/patches/tests-internet.patch index f8c171b..0f272ec 100644 --- a/debian/patches/tests-internet.patch +++ b/debian/patches/tests-internet.patch @@ -10,7 +10,7 @@ Last-Update: 2014-07-19 like ($err, qr/\Q$usage{$method}\E/, join("|",@$c) ); } -+if ( $ENV{HAVE_INTERNET} ) { ++unless ( $ENV{NO_NETWORK} ) { my $res = eval{ $http->get("http://www.example.com/", { headers => { host => "www.example2.com" } } ) }; is( $res->{status}, 599, "Providing a Host header errors with 599" ); like( $res->{content}, qr/'Host' header/, "Providing a Host header gives right error message" ); diff --git a/debian/rules b/debian/rules index dcff4a3..b39a9b4 100755 --- a/debian/rules +++ b/debian/rules @@ -7,4 +7,4 @@ TEST_FILES = $(filter-out $(SKIP_TESTS),$(shell echo t/*.t)) dh $@ override_dh_auto_test: - dh_auto_test -- TEST_FILES="$(TEST_FILES)" + NO_NETWORK=1 dh_auto_test -- TEST_FILES="$(TEST_FILES)" -- 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 Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits