Skip to content
Tcl Source Code View Ticket
Login

View Ticket

test http-4.15 fails in isolation

Closed / Fixed3097490fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-10-28 16:26:12
$ make test-tcl TESTFLAGS="-file http.test -match http-4.15"
...
==== http-4.15 http::Event FAILED
==== Contents of test case:

    # This test may fail if you use a proxy server. That is to be
    # expected and is not a problem with Tcl.
    set token [http::geturl //not_a_host.tcl.tk -timeout 1000 -command \#]
    http::wait $token
    http::status $token
    # error codes vary among platforms.

---- Test cleanup failed:
can't read "token": no such variable
---- errorInfo(cleanup): can't read "token": no such variable
    while executing
"http::cleanup $token"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $cleanup"
---- errorCode(cleanup): TCL LOOKUP VARNAME token
==== http-4.15 FAILED
dgpplain2010-10-28 23:37:10
allow_comments - 1

ok, that was easier than expected; just
a missing [catch].
Log in (anonymous is fine) to add a comment.