From 5ebb52d092039830ab2f637b2c84c6eca592e436 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Sat, 22 Jun 2013 22:19:59 +0200 Subject: [PATCH] test1230: avoid using hard-wired port number --- 0001-curl-7.31.0-02964ed6.patch | 26 ++++++++++++++++++++++++++ curl.spec | 4 ++++ 2 files changed, 30 insertions(+) create mode 100644 0001-curl-7.31.0-02964ed6.patch diff --git a/0001-curl-7.31.0-02964ed6.patch b/0001-curl-7.31.0-02964ed6.patch new file mode 100644 index 0000000..33b7bf0 --- /dev/null +++ b/0001-curl-7.31.0-02964ed6.patch @@ -0,0 +1,26 @@ +From 02964ed630c0fc74b47d0c94735d328661388d69 Mon Sep 17 00:00:00 2001 +From: Kamil Dudka +Date: Sat, 22 Jun 2013 22:12:49 +0200 +Subject: [PATCH] test1230: avoid using hard-wired port number + +... to prevent failure when a non-default -b option is given +--- + tests/data/test1230 | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/tests/data/test1230 b/tests/data/test1230 +index ab56b4f..a071850 100644 +--- a/tests/data/test1230 ++++ b/tests/data/test1230 +@@ -71,7 +71,7 @@ Host: [1234:1234:1234::4ce]:%HTTPPORT + Proxy-Connection: Keep-Alive + + GET /wanted/page/1230 HTTP/1.1 +-Host: [1234:1234:1234::4ce]:8990 ++Host: [1234:1234:1234::4ce]:%HTTPPORT + Accept: */* + + +-- +1.7.1 + diff --git a/curl.spec b/curl.spec index c6b9fec..17bd7e2 100644 --- a/curl.spec +++ b/curl.spec @@ -7,6 +7,9 @@ Group: Applications/Internet Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma Source2: curlbuild.h +# test1230: avoid using hard-wired port number +Patch1: 0001-curl-7.31.0-02964ed6.patch + # patch making libcurl multilib ready Patch101: 0101-curl-7.30.0-multilib.patch @@ -100,6 +103,7 @@ documentation of the library, too. %setup -q # upstream patches +%patch1 -p1 # Fedora patches %patch101 -p1