This is an automated email from the git hooks/post-receive script. intrigeri pushed a commit to branch master in repository libio-socket-socks-perl.
commit f6970a859bd672641ae2f5ca12dd5e778353eccd Author: intrigeri <[email protected]> Date: Wed Aug 27 20:40:42 2014 +0000 Fix-t-06_accept_mixed.t-by-enabling-SocksResolve.patch: new patch to fix test failures when run without network access. --- ...6_accept_mixed.t-by-enabling-SocksResolve.patch | 22 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 23 insertions(+) diff --git a/debian/patches/Fix-t-06_accept_mixed.t-by-enabling-SocksResolve.patch b/debian/patches/Fix-t-06_accept_mixed.t-by-enabling-SocksResolve.patch new file mode 100644 index 0000000..67d2d1a --- /dev/null +++ b/debian/patches/Fix-t-06_accept_mixed.t-by-enabling-SocksResolve.patch @@ -0,0 +1,22 @@ +From: intrigeri <[email protected]> +Date: Wed, 27 Aug 2014 20:39:12 +0000 +Subject: Fix t/06_accept_mixed.t by enabling SocksResolve: this is needed for + SOCKS4 clients when the tests are run without a network connection. + +--- + t/06_accept_mixed.t | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/t/06_accept_mixed.t b/t/06_accept_mixed.t +index 04887c1..96f2200 100644 +--- a/t/06_accept_mixed.t ++++ b/t/06_accept_mixed.t +@@ -17,7 +17,7 @@ my $ver5_cnt = 0; + for (1..10) { + my $ver = rand() < 0.5 ? 4 : 5; + $ver == 4 ? $ver4_cnt++ : $ver5_cnt++; +- my $client = IO::Socket::Socks->new(SocksVersion => $ver, Blocking => 0, ProxyAddr => $serveraddr, ProxyPort => $serverport, ConnectAddr => '2gis.com', ConnectPort => 8080); ++ my $client = IO::Socket::Socks->new(SocksVersion => $ver, Blocking => 0, ProxyAddr => $serveraddr, ProxyPort => $serverport, ConnectAddr => '2gis.com', ConnectPort => 8080, SocksResolve => 1); + ok(defined($client), "Socks $ver client non-blocking connection $_ started"); + $local_clients{$client} = $client; + } diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..b1c9679 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +Fix-t-06_accept_mixed.t-by-enabling-SocksResolve.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libio-socket-socks-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
