[SCM] Debian packaging of libnet-amazon-ec2-perl branch, master, updated. debian/0.16-1-14-g3b7a6f4

Florian Schlichting fschlich at zedat.fu-berlin.de
Tue Aug 14 18:51:26 UTC 2012


The following commit has been merged in the master branch:
commit 3b7a6f4918b0dcbbb2ea374dbc6fef8d0c309ee3
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date:   Tue Aug 14 20:45:36 2012 +0200

    unset http_proxy during testing
    
    t/03_failing_calls.t tests for errors returned or exceptions thrown when
    trying to make an api call against localhost, where no such service
    should be hosted. In an environment where http_proxy is set, a different
    error is produced and the test fails.

diff --git a/debian/changelog b/debian/changelog
index 3cbb869..0a471bb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ libnet-amazon-ec2-perl (0.20-1) unstable; urgency=low
   * Bumped copyright years for included Module::Install.
   * Added build-dependency on libtest-exception-perl.
   * Updated API version in package description to 2011-01-01.
+  * Unset http_proxy during testing, so the expected error is generated.
 
  -- Florian Schlichting <fschlich at zedat.fu-berlin.de>  Mon, 13 Aug 2012 21:31:43 +0200
 
diff --git a/debian/rules b/debian/rules
index 0c1779c..ccb790c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,9 @@ TMP     = $(CURDIR)/debian/$(PACKAGE)
 %:
 	dh $@
 
+override_dh_auto_test:
+	http_proxy= dh_auto_test
+
 override_dh_auto_install:
 	dh_auto_install
 	rm -v $(TMP)/usr/share/man/man3/Net::Amazon::EC2::*.3pm

-- 
Debian packaging of libnet-amazon-ec2-perl



More information about the Pkg-perl-cvs-commits mailing list