Hi Damien-
On Mon, Apr 20, 2009 at 11:44:38AM +1000, Damien Miller wrote:
> This updates lang/python/2.6 tfrom 2.6.1 to 2.6.2 and simplifies the
> Makefile patching a little bit. Please test.
Looks good to me; I get a few regress errors on i386 (see below), but I
got similar failures with 2.6.1, too.
--
o--------------------------{ Will Maier }--------------------------o
| web:.......http://www.lfod.us/ | [email protected] |
*---------------------[ BSD: Live Free or Die ]--------------------*
======================================================================
FAIL: test_get (test.test_httpservers.SimpleHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/ports/lang/python/2.6/w-Python-2.6.2/Python-2.6.2/Lib/test/test_httpservers.py",
line 243, in test_get
self.check_status_and_reason(response, 404)
File
"/usr/ports/lang/python/2.6/w-Python-2.6.2/Python-2.6.2/Lib/test/test_httpservers.py",
line 219, in check_status_and_reason
self.assertEquals(response.status, status)
AssertionError: 200 != 404
======================================================================
FAIL: test_authorization (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/ports/lang/python/2.6/w-Python-2.6.2/Python-2.6.2/Lib/test/test_httpservers.py",
line 340, in test_authorization
(res.read(), res.getheader('Content-type'), res.status))
AssertionError: ('Hello World\n', 'text/html', 200) != ('', None, 200)
======================================================================
FAIL: test_headers_and_content (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/ports/lang/python/2.6/w-Python-2.6.2/Python-2.6.2/Lib/test/test_httpservers.py",
line 321, in test_headers_and_content
(res.read(), res.getheader('Content-type'), res.status))
AssertionError: ('Hello World\n', 'text/html', 200) != ('', None, 200)
======================================================================
FAIL: test_post (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/ports/lang/python/2.6/w-Python-2.6.2/Python-2.6.2/Lib/test/test_httpservers.py",
line 328, in test_post
self.assertEquals(res.read(), '1, python, 123456\n')
AssertionError: '' != '1, python, 123456\n'
----------------------------------------------------------------------
Ran 21 tests in 10.504s