Author: gb
Date: Wed Feb 14 13:42:49 2007
New Revision: 120832

Added:
   packages/cooker/curl/current/SOURCES/curl-7.16.0-fix-tests.patch
Modified:
   packages/cooker/curl/current/SPECS/curl.spec

Log:
- fix tests (CVS)


Added: packages/cooker/curl/current/SOURCES/curl-7.16.0-fix-tests.patch
==============================================================================
--- (empty file)
+++ packages/cooker/curl/current/SOURCES/curl-7.16.0-fix-tests.patch    Wed Feb 
14 13:42:49 2007
@@ -0,0 +1,63 @@
+--- curl-7.16.0/tests/data/test62.fix-tests    2006-09-27 22:56:53.000000000 
+0200
++++ curl-7.16.0/tests/data/test62      2007-02-14 15:33:40.000000000 +0100
+@@ -32,9 +32,9 @@ http://%HOSTIP:%HTTPPORT/we/want/62 -b l
+ # http://curlm.haxx.se/rfc/cookie_spec.html
+ # This file was generated by libcurl! Edit at your own risk.
+ 
+-.foo.com      TRUE    /we/want/       FALSE   1170327387      test    yes
+-.host.foo.com TRUE    /we/want/       FALSE   1170327387      test2   yes
+-.fake.host.foo.com    TRUE    /we/want/       FALSE   1170327387      test4   
yes
++.foo.com      TRUE    /we/want/       FALSE   2054030187      test    yes
++.host.foo.com TRUE    /we/want/       FALSE   2054030187      test2   yes
++.fake.host.foo.com    TRUE    /we/want/       FALSE   2054030187      test4   
yes
+ 
+ .foo.com      TRUE    /moo    TRUE    0       test3   maybe
+ </file>
+--- curl-7.16.0/tests/data/test61.fix-tests    2006-09-27 22:56:42.000000000 
+0200
++++ curl-7.16.0/tests/data/test61      2007-02-14 15:35:02.000000000 +0100
+@@ -15,8 +15,8 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT
+ Server: test-server/fake
+ Content-Type: text/html
+ Funny-head: yesyes
+-Set-Cookie: test=yes; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 2007
+-Set-Cookie: test2=yes; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 
2007
++Set-Cookie: test=yes; domain=foo.com; expires=Fri Feb 2 11:56:27 GMT 2035
++Set-Cookie: test2=yes; domain=host.foo.com; expires=Fri Feb 2 11:56:27 GMT 
2035
+ Set-Cookie: test3=maybe; domain=foo.com; path=/moo; secure
+ Set-Cookie: test4=no; domain=nope.foo.com; path=/moo; secure
+ Set-Cookie: test5=name; domain=anything.com; path=/ ; secure
+@@ -55,8 +55,8 @@ Host: www.host.foo.com
+ # http://curlm.haxx.se/rfc/cookie_spec.html
+ # This file was generated by libcurl! Edit at your own risk.
+ 
+-.foo.com      TRUE    /we/want/       FALSE   1170330987      test    yes
+-.host.foo.com TRUE    /we/want/       FALSE   1170330987      test2   yes
++.foo.com      TRUE    /we/want/       FALSE   2054030187      test    yes
++.host.foo.com TRUE    /we/want/       FALSE   2054030187      test2   yes
+ .foo.com      TRUE    /moo    TRUE    0       test3   maybe
+ </file>
+ </verify>
+--- curl-7.16.0/tests/data/test31.fix-tests    2006-09-27 22:54:52.000000000 
+0200
++++ curl-7.16.0/tests/data/test31      2007-02-14 15:36:36.000000000 +0100
+@@ -21,10 +21,10 @@ Set-Cookie: partmatch=present; domain=12
+ Set-Cookie:eat=this; domain=moo.foo.moo;
+ Set-Cookie: eat=this-too; domain=.foo.moo;
+ Set-Cookie: nodomainnovalue
+-Set-Cookie:   nodomain=value; expires=Tue Feb 1 11:56:27 GMT 2014
++Set-Cookie:   nodomain=value; expires=Fri Feb 2 11:56:27 GMT 2035
+ Set-Cookie: novalue; domain=reallysilly
+-Set-Cookie: test=yes; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 2007
+-Set-Cookie: test2=yes; domain=se; expires=Tue Feb 1 11:56:27 GMT 2007
++Set-Cookie: test=yes; domain=foo.com; expires=Sat Feb 2 11:56:27 GMT 2030
++Set-Cookie: test2=yes; domain=se; expires=Sat Feb 2 11:56:27 GMT 2030
+ 
+ boo
+ </data>
+@@ -61,6 +61,6 @@ Accept: */*
+ 
+ .127.0.0.1    TRUE    /silly/ FALSE   0       ismatch this
+ .127.0.0.1    TRUE    /       FALSE   0       partmatch       present
+-127.0.0.1     FALSE   /we/want/       FALSE   1391255787      nodomain        
value
++127.0.0.1     FALSE   /we/want/       FALSE   2054030187      nodomain        
value
+ </file>
+ </verify>

Modified: packages/cooker/curl/current/SPECS/curl.spec
==============================================================================
--- packages/cooker/curl/current/SPECS/curl.spec        (original)
+++ packages/cooker/curl/current/SPECS/curl.spec        Wed Feb 14 13:42:49 2007
@@ -1,6 +1,6 @@
 %define name curl
 %define version 7.16.0
-%define release %mkrel 7
+%define release %mkrel 8
 %define major 4
 %define libname %mklibname %{name} %{major}
 
@@ -24,6 +24,7 @@
 Patch1: curl-7.10.4-compat-location-trusted.patch
 Patch2: curl-7.13.0-64bit-fixes.patch
 Patch3: curl-7.16.0-easy_magic.patch
+Patch4: curl-7.16.0-fix-tests.patch
 URL: http://curl.haxx.se/
 Provides: webfetch
 Requires: %{libname} = %{epoch}:%{version}
@@ -79,6 +80,7 @@
 %setup -q -n %{name}-%{version}
 %patch1 -p1
 %patch3 -p1 -b .easy_magic
+%patch4 -p1 -b .fix-tests
 
 %if 0
 %patch2 -p1 -b .64bit-fixes

Reply via email to