File: ubuntu-autopkgtest-proxy.patch

package info (click to toggle)
feersum 1.505-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,120 kB
  • sloc: perl: 3,587; ansic: 1,116; makefile: 20
file content (17 lines) | stat: -rw-r--r-- 433 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Work around no_proxy lacking ::1 and hence autopkgtests
 failing to talk to localhost (aka ::1).
Author: Dimitri John Ledkov <xnox@ubuntu.com>

--- a/t/13-pre-fork.t
+++ b/t/13-pre-fork.t
@@ -9,6 +9,10 @@
 use lib 't'; use Utils;
 use File::Spec::Functions 'rel2abs';
 
+delete $ENV{http_proxy};
+delete $ENV{https_proxy};
+delete $ENV{no_proxy};
+
 use_ok 'Feersum::Runner';
 
 my (undef, $port) = get_listen_socket();