From b98b240818b4fd3ef5b35ac8c57b13037dc59b7b Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 16 Oct 2013 19:37:22 +0200 Subject: [PATCH] test906: Fixed failing test on some platforms --- 0001-curl-7.33.0-4d49ffe1.patch | 32 ++++++++++++++++++++++++++++++++ curl.spec | 4 ++++ 2 files changed, 36 insertions(+) create mode 100644 0001-curl-7.33.0-4d49ffe1.patch diff --git a/0001-curl-7.33.0-4d49ffe1.patch b/0001-curl-7.33.0-4d49ffe1.patch new file mode 100644 index 0000000..d7f7ff8 --- /dev/null +++ b/0001-curl-7.33.0-4d49ffe1.patch @@ -0,0 +1,32 @@ +From 2a9dd8d2e6d013c1c2ed7f5e12b4bcc89cc8f3bb Mon Sep 17 00:00:00 2001 +From: Steve Holme +Date: Tue, 15 Oct 2013 21:31:14 +0100 +Subject: [PATCH] test906: Fixed failing test on some platforms + +Bug: http://sourceforge.net/p/curl/bugs/1291 +Reported-by: David Walser + +[upstream commit 4d49ffe165a51d45cef79bf81cb867dbcf06b092] + +Signed-off-by: Kamil Dudka +--- + tests/data/test906 | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/tests/data/test906 b/tests/data/test906 +index 5072e90..6cf6bed 100644 +--- a/tests/data/test906 ++++ b/tests/data/test906 +@@ -41,6 +41,9 @@ mail body + + smtp://%HOSTIP:%SMTPPORT/906 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T - + ++ ++chkhostname curlhost ++ + + + # +-- +1.7.1 + diff --git a/curl.spec b/curl.spec index 2e5a704..0e53ef2 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 +# test906: Fixed failing test on some platforms +Patch1: 0001-curl-7.33.0-4d49ffe1.patch + # patch making libcurl multilib ready Patch101: 0101-curl-7.32.0-multilib.patch @@ -104,6 +107,7 @@ documentation of the library, too. %setup -q # upstream patches +%patch1 -p1 # Fedora patches %patch101 -p1