test1230: avoid using hard-wired port number

This commit is contained in:
Kamil Dudka 2013-06-22 22:19:59 +02:00
parent 104dece0d5
commit 5ebb52d092
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,26 @@
From 02964ed630c0fc74b47d0c94735d328661388d69 Mon Sep 17 00:00:00 2001
From: Kamil Dudka <kdudka@redhat.com>
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: */*
</protocol>
--
1.7.1

View File

@ -7,6 +7,9 @@ Group: Applications/Internet
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
Source2: curlbuild.h Source2: curlbuild.h
# test1230: avoid using hard-wired port number
Patch1: 0001-curl-7.31.0-02964ed6.patch
# patch making libcurl multilib ready # patch making libcurl multilib ready
Patch101: 0101-curl-7.30.0-multilib.patch Patch101: 0101-curl-7.30.0-multilib.patch
@ -100,6 +103,7 @@ documentation of the library, too.
%setup -q %setup -q
# upstream patches # upstream patches
%patch1 -p1
# Fedora patches # Fedora patches
%patch101 -p1 %patch101 -p1