Jim Gallacher wrote:

Dominic Wong wrote:

-1 for Gentoo Linux 2.6.13-gentoo-r3
Apache 2.0.54
Python 2.4.1



Hi Dominic,

When you have a chance could you apply the following patch and re-run the tests?

Thanks,
Jim

Hi Jim,

I pretty much get the same output:

<snip>
[EMAIL PROTECTED] /usr/local/src/mod_python-3.2.3b/test $ python test.py
* Testing LoadModule
 Creating config....
   listen port: 32863
 Starting Apache....
/usr/sbin/apache2 -k start -f /usr/local/src/mod_python-3.2.3b/test/conf/test.conf
 Stopping Apache...
/usr/sbin/apache2 -k stop -f /usr/local/src/mod_python-3.2.3b/test/conf/test.conf
.
* Testing server.register_cleanup()...
 Creating config....
   listen port: 32866
 Starting Apache....
/usr/sbin/apache2 -k start -f /usr/local/src/mod_python-3.2.3b/test/conf/test.conf
 Stopping Apache...
/usr/sbin/apache2 -k stop -f /usr/local/src/mod_python-3.2.3b/test/conf/test.conf
.
* Testing apache.register_cleanup()...
 Creating config....
   listen port: 32869
 Starting Apache....
/usr/sbin/apache2 -k start -f /usr/local/src/mod_python-3.2.3b/test/conf/test.conf
 Stopping Apache...
/usr/sbin/apache2 -k stop -f /usr/local/src/mod_python-3.2.3b/test/conf/test.conf
.
* Running the per-request test suite...
 Creating config....
   listen port: 32873
 Starting Apache....
/usr/sbin/apache2 -k start -f /usr/local/src/mod_python-3.2.3b/test/conf/test.conf

 * Testing req.document_root()
.
 * Testing req.add_handler()
.
 * Testing req.allow_methods()
.
 * Testing req.get_basic_auth_pw()
.
 * Testing req.requires()
.
 * Testing req.internal_redirect()
.
 * Testing req.read()
   writing 100000 bytes...
   response size: 100000

   read/write ok, now lets try causing a timeout (should be 5 secs)
.
 * Testing req.readline()
   writing 120004 bytes...
   response size: 120004

.
 * Testing req.readlines()
   writing 120004 bytes...
   response size: 120004

.
 * Testing req.register_cleanup()
.
 * Testing req.headers_out
connect: (127.0.0.1, 32873)
send: 'GET / HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: test_req_headers_out:32873\r\n\r\n'
reply: ''
E
 * Testing req.sendfile() with offset and length
.
 * Testing req.sendfile() without offset and length
.
 * Testing req.sendfile() for a file which is a symbolic link
.
 * Testing PythonOption
.
 * Testing PythonOption override
.
 * Testing PythonOption remove
.
 * Testing PythonOption remove2
.
 * Testing util_fieldstorage()
.
 * Testing PostReadRequestHandler
.
 * Testing TransHandler
.
 * Testing PythonOutputFilter
.
 * Testing PythonConnectionHandler
.
 * Testing PythonImport
.
 * Testing | .ext syntax
.
 * Testing mod_python.cgihandler
.
 * Testing mod_python.psp
.
 * Testing Cookie.Cookie
.
 * Testing Cookie.MarshalCookie
.
 * Testing Session.Session
.
 * Testing interpreter per directive
.
 * Testing interpreter per directory
.
 * Testing mod_python.publisher
.
 * Testing mod_python.publisher old-style instance publishing
.
 * Testing mod_python.publisher instance publishing
.
 * Testing mod_python.publisher security
.
 * Testing mod_python.publisher iterators
.
 * Testing mod_python.publisher hierarchy
.
======================================================================
ERROR: test_req_headers_out (__main__.PerRequestTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "test.py", line 597, in test_req_headers_out
   response = conn.getresponse()
 File "/usr/lib/python2.4/httplib.py", line 863, in getresponse
   response.begin()
 File "/usr/lib/python2.4/httplib.py", line 333, in begin
   version, status, reason = self._read_status()
 File "/usr/lib/python2.4/httplib.py", line 297, in _read_status
   raise BadStatusLine(line)
BadStatusLine

----------------------------------------------------------------------
Ran 38 tests in 9.836s

FAILED (errors=1)
F  Stopping Apache...
/usr/sbin/apache2 -k stop -f /usr/local/src/mod_python-3.2.3b/test/conf/test.conf

======================================================================
FAIL: testPerRequestTests (__main__.PerInstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "test.py", line 1489, in testPerRequestTests
   self.failUnless(result.wasSuccessful())
AssertionError

----------------------------------------------------------------------
Ran 4 tests in 26.450s

FAILED (failures=1)

</snip>

Cheers,
Dom


Reply via email to