test906: Fixed failing test on some platforms

This commit is contained in:
Kamil Dudka 2013-10-16 19:37:22 +02:00
parent 7b8437e3a1
commit b98b240818
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,32 @@
From 2a9dd8d2e6d013c1c2ed7f5e12b4bcc89cc8f3bb Mon Sep 17 00:00:00 2001
From: Steve Holme <steve_holme@hotmail.com>
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 <kdudka@redhat.com>
---
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
<command>
smtp://%HOSTIP:%SMTPPORT/906 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T -
</command>
+<precheck>
+chkhostname curlhost
+</precheck>
</client>
#
--
1.7.1

View File

@ -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