Skip to content
Tcl Source Code View Ticket
Login

View Ticket

HTTP test failure v8.3.3

Closed / Out of Date453527ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-08-20 22:25:03
I built tcl on a SunOS 5.7 system using gnu make.

When I run the test suite, I get the following error:

==== http-4.14 http::Event FAILED
==== Contents of test case:

    set code [catch {
        set token [http::geturl $badurl/?timeout=10
-timeout 10000 -command {#}]
        if {[string length $token] == 0} {
            error "bogus return from http::geturl"
        }
        http::wait $token
        http::status $token
    } err]
    # error code varies among platforms.
    list $code [string match "connect failed*" $err]

---- Result was:
0 0
---- Result should have been:
1 1
==== http-4.14 FAILED


-- Chris
hobbsplain2001-08-21 06:36:32
Logged In: YES 
user_id=72656

This was due to a bogus test setup mistake in httpd that 
has since been fixed in the HEAD.
rccallplain2001-08-21 21:15:38
Logged In: YES 
user_id=303025

I don't understand the resolution.  (What's the HEAD, for
example?)

What do I need to do to obtain a working set of test cases?
hobbsplain2001-08-21 23:18:41
Logged In: YES 
user_id=72656

HEAD is the head of the CVS repository, where the most 
current sources are.  You can grab the 'httpd' file in the 
tests directory of the 8.4a3 sources for example to fix 
this problem.  The problem was in httpd not even responding 
to timeout calls correctly, not the test.
Log in (anonymous is fine) to add a comment.