summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-14 01:26:56 +0000
committerMike Frysinger <vapier@gentoo.org>2009-10-14 01:26:56 +0000
commita578bec86cb083d939eab85239ae8fd98e6cfafb (patch)
tree462fd168f1a907f008eadd2063ecab0755916a2f /net-misc
parentQA fixes; remove redundant cd (diff)
downloadgentoo-2-a578bec86cb083d939eab85239ae8fd98e6cfafb.tar.gz
gentoo-2-a578bec86cb083d939eab85239ae8fd98e6cfafb.tar.bz2
gentoo-2-a578bec86cb083d939eab85239ae8fd98e6cfafb.zip
Update debug test patch to cover USE=idn #288156 by Paolo Pedroni and info from Kent Fredric.
(Portage version: 2.2_rc42/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/wget/ChangeLog7
-rw-r--r--net-misc/wget/files/wget-1.12-debug-tests.patch149
2 files changed, 119 insertions, 37 deletions
diff --git a/net-misc/wget/ChangeLog b/net-misc/wget/ChangeLog
index 5528a54ac4e9..55287329fc67 100644
--- a/net-misc/wget/ChangeLog
+++ b/net-misc/wget/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/wget
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.117 2009/10/07 19:08:17 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.118 2009/10/14 01:26:56 vapier Exp $
+
+ 14 Oct 2009; Mike Frysinger <vapier@gentoo.org>
+ files/wget-1.12-debug-tests.patch:
+ Update debug test patch to cover USE=idn #288156 by Paolo Pedroni and info
+ from Kent Fredric.
07 Oct 2009; Markus Meier <maekke@gentoo.org> wget-1.12.ebuild:
amd64 stable, bug #286058
diff --git a/net-misc/wget/files/wget-1.12-debug-tests.patch b/net-misc/wget/files/wget-1.12-debug-tests.patch
index 7891ed354629..2cba7be44f32 100644
--- a/net-misc/wget/files/wget-1.12-debug-tests.patch
+++ b/net-misc/wget/files/wget-1.12-debug-tests.patch
@@ -1,52 +1,129 @@
-Skip tests that require USE=debug when building with USE=-debug
+Remove debug code from tests (since they'd require USE=debug)
http://bugs.gentoo.org/286173
+http://bugs.gentoo.org/288156
---- a/tests/Test-E-k-K.px
-+++ b/tests/Test-E-k-K.px
-@@ -3,6 +3,7 @@
- use strict;
- use warnings;
+diff -r f5754f5d165c -r 3aa1d93d1c10 tests/Test-idn-cmd.px
+--- a/tests/Test-idn-cmd.px Fri Sep 25 10:17:49 2009 -0700
++++ b/tests/Test-idn-cmd.px Sun Sep 27 11:29:01 2009 -0700
+@@ -28,7 +28,7 @@
+ },
+ );
-+use WgetFeature qw(debug);
- use HTTPTest;
+-my $cmdline = $WgetTest::WGETPATH . " --debug --iri -rH"
++my $cmdline = $WgetTest::WGETPATH . " --iri -rH"
+ . " -e http_proxy=localhost:{{port}} --local-encoding=EUC-JP $euc_jp_hostname";
+ my $expected_error_code = 0;
+diff -r f5754f5d165c -r 3aa1d93d1c10 tests/Test-idn-headers.px
+--- a/tests/Test-idn-headers.px Fri Sep 25 10:17:49 2009 -0700
++++ b/tests/Test-idn-headers.px Sun Sep 27 11:29:01 2009 -0700
+@@ -40,7 +40,7 @@
+ },
+ );
---- a/tests/Test-cookies-401.px
-+++ b/tests/Test-cookies-401.px
-@@ -3,6 +3,7 @@
- use strict;
- use warnings;
+-my $cmdline = $WgetTest::WGETPATH . " --debug --iri -rH"
++my $cmdline = $WgetTest::WGETPATH . " --iri -rH"
+ . " -e http_proxy=localhost:{{port}} http://start-here.com/start.html";
-+use WgetFeature qw(debug);
- use HTTPTest;
+ my $expected_error_code = 0;
+diff -r f5754f5d165c -r 3aa1d93d1c10 tests/Test-idn-meta.px
+--- a/tests/Test-idn-meta.px Fri Sep 25 10:17:49 2009 -0700
++++ b/tests/Test-idn-meta.px Sun Sep 27 11:29:01 2009 -0700
+@@ -41,7 +41,7 @@
+ },
+ );
+-my $cmdline = $WgetTest::WGETPATH . " --debug --iri -rH"
++my $cmdline = $WgetTest::WGETPATH . " --iri -rH"
+ . " -e http_proxy=localhost:{{port}} http://start-here.com/start.html";
---- a/tests/Test-ftp-bad-list.px
-+++ b/tests/Test-ftp-bad-list.px
-@@ -3,6 +3,7 @@
- use strict;
- use warnings;
+ my $expected_error_code = 0;
+diff -r f5754f5d165c -r 3aa1d93d1c10 tests/Test-idn-robots.px
+--- a/tests/Test-idn-robots.px Fri Sep 25 10:17:49 2009 -0700
++++ b/tests/Test-idn-robots.px Sun Sep 27 11:29:01 2009 -0700
+@@ -48,7 +48,7 @@
+ },
+ );
-+use WgetFeature qw(debug);
- use FTPTest;
+-my $cmdline = $WgetTest::WGETPATH . " --debug --iri -rH"
++my $cmdline = $WgetTest::WGETPATH . " --iri -rH"
+ . " -e http_proxy=localhost:{{port}} --local-encoding=EUC-JP"
+ . " http://$euc_jp_hostname/";
+diff -r f5754f5d165c -r 3aa1d93d1c10 tests/Test-proxy-auth-basic.px
+--- a/tests/Test-proxy-auth-basic.px Fri Sep 25 10:17:49 2009 -0700
++++ b/tests/Test-proxy-auth-basic.px Sun Sep 27 11:29:01 2009 -0700
+@@ -25,7 +25,7 @@
+ },
+ );
---- a/tests/Test-proxy-auth-basic.px
-+++ b/tests/Test-proxy-auth-basic.px
-@@ -3,6 +3,7 @@
- use strict;
- use warnings;
+-my $cmdline = $WgetTest::WGETPATH . " --debug --user=fiddle-dee-dee --password=Dodgson"
++my $cmdline = $WgetTest::WGETPATH . " --user=fiddle-dee-dee --password=Dodgson"
+ . " -e http_proxy=localhost:{{port}} http://no.such.domain/needs-auth.txt";
-+use WgetFeature qw(debug);
- use HTTPTest;
+ my $expected_error_code = 0;
+
+
+
+
+diff -r ee7b9018a483 tests/Test-E-k-K.px
+--- a/tests/Test-E-k-K.px Fri Oct 09 02:23:26 2009 -0700
++++ b/tests/Test-E-k-K.px Tue Oct 13 21:18:51 2009 -0400
+@@ -61,7 +61,7 @@
+ },
+ );
+-my $cmdline = $WgetTest::WGETPATH . " -d -r -nd -E -k -K http://localhost:{{port}}/index.php";
++my $cmdline = $WgetTest::WGETPATH . " -r -nd -E -k -K http://localhost:{{port}}/index.php";
---- a/tests/WgetFeature.cfg
-+++ b/tests/WgetFeature.cfg
-@@ -1,4 +1,5 @@
- %skip_messages = (
-+ debug => "Not running test: Wget under test doesn't support debug.",
- https => "Not running test: Wget under test doesn't support HTTPS.",
- iri => "Not running test: Wget under test doesn't support IDN/IRI.",
+ my $expected_error_code = 0;
+
+diff -r ee7b9018a483 tests/Test-cookies-401.px
+--- a/tests/Test-cookies-401.px Fri Oct 09 02:23:26 2009 -0700
++++ b/tests/Test-cookies-401.px Tue Oct 13 21:18:51 2009 -0400
+@@ -29,7 +29,7 @@
+ },
);
+
+-my $cmdline = $WgetTest::WGETPATH . " -d http://localhost:{{port}}/one.txt"
++my $cmdline = $WgetTest::WGETPATH . " http://localhost:{{port}}/one.txt"
+ . " http://localhost:{{port}}/two.txt";
+
+ my $expected_error_code = 6;
+diff -r ee7b9018a483 tests/Test-ftp-bad-list.px
+--- a/tests/Test-ftp-bad-list.px Fri Oct 09 02:23:26 2009 -0700
++++ b/tests/Test-ftp-bad-list.px Tue Oct 13 21:18:51 2009 -0400
+@@ -29,7 +29,7 @@
+ },
+ );
+
+-my $cmdline = $WgetTest::WGETPATH . " -d -nH -Nc -r ftp://localhost:{{port}}/";
++my $cmdline = $WgetTest::WGETPATH . " -nH -Nc -r ftp://localhost:{{port}}/";
+
+ my $expected_error_code = 0;
+
+diff -r ee7b9018a483 tests/Test-iri-list.px
+--- a/tests/Test-iri-list.px Fri Oct 09 02:23:26 2009 -0700
++++ b/tests/Test-iri-list.px Tue Oct 13 21:18:51 2009 -0400
+@@ -143,7 +143,7 @@
+ },
+ );
+
+-my $cmdline = $WgetTest::WGETPATH . " --iri -d -i http://localhost:{{port}}/url_list.txt";
++my $cmdline = $WgetTest::WGETPATH . " --iri -i http://localhost:{{port}}/url_list.txt";
+
+ my $expected_error_code = 0;
+
+diff -r ee7b9018a483 tests/Test-iri.px
+--- a/tests/Test-iri.px Fri Oct 09 02:23:26 2009 -0700
++++ b/tests/Test-iri.px Tue Oct 13 21:18:51 2009 -0400
+@@ -186,7 +186,7 @@
+ },
+ );
+
+-my $cmdline = $WgetTest::WGETPATH . " -d --iri --restrict-file-names=nocontrol -nH -r http://localhost:{{port}}/";
++my $cmdline = $WgetTest::WGETPATH . " --iri --restrict-file-names=nocontrol -nH -r http://localhost:{{port}}/";
+
+ my $expected_error_code = 0;
+