Package: php-horde-http
Version: 2.1.6-3
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch

Dear Maintainer,

We found a failure in the php-horde-http autopkgtest without the
following.

In Ubuntu, the attached patch was applied to achieve the following:

    - fix_test_domain.patch: use a fully-qualified inexistent domain for
      test suite to prevent test failure in autopkgtest environment.

Thanks for considering the patch.


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-24-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru php-horde-http-2.1.6/debian/patches/fix_test_domain.patch php-horde-http-2.1.6/debian/patches/fix_test_domain.patch
--- php-horde-http-2.1.6/debian/patches/fix_test_domain.patch	1969-12-31 16:00:00.000000000 -0800
+++ php-horde-http-2.1.6/debian/patches/fix_test_domain.patch	2016-06-16 16:25:46.000000000 -0700
@@ -0,0 +1,14 @@
+Description: use a fully-qualified inexistent domain
+Author: Marc Deslauriers <marc.deslauri...@canonical.com>
+
+--- php-horde-http-2.1.6.orig/Horde_Http-2.1.6/test/Horde/Http/TestBase.php
++++ php-horde-http-2.1.6/Horde_Http-2.1.6/test/Horde/Http/TestBase.php
+@@ -74,7 +74,7 @@ class Horde_Http_TestBase extends Horde_
+         $client = new Horde_Http_Client(
+             array('request' => new self::$_requestClass())
+         );
+-        $client->get('http://doesntexist/');
++        $client->get('http://doesntexist.ubuntu.com/');
+     }
+ 
+     /**
diff -Nru php-horde-http-2.1.6/debian/patches/series php-horde-http-2.1.6/debian/patches/series
--- php-horde-http-2.1.6/debian/patches/series	1969-12-31 16:00:00.000000000 -0800
+++ php-horde-http-2.1.6/debian/patches/series	2016-06-16 16:23:51.000000000 -0700
@@ -0,0 +1 @@
+fix_test_domain.patch

Reply via email to