Re: mod_python 3.2.3b available for testing
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Re: mod_python 3.2.3b available for testing




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: mod_python 3.2.3b available for testing  
Dominic Wong


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-25-05 07:46 AM


Jim Gallacher wrote:

> Dominic Wong wrote:
> 
>
>
>
> 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>
dom@chalke /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








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:49 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register