diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-22 22:53:26 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-22 22:53:26 (GMT) |
commit | ae2b9cd377978ef7018b95e2d16b17042e2eb76b (patch) | |
tree | 0441dad194ddbbc26e6712b6dc25edb22aebaf64 | |
parent | 0389d9d276a16e5f11a8ec823cb2334e4b5d119a (diff) | |
download | tcl-ae2b9cd377978ef7018b95e2d16b17042e2eb76b.zip tcl-ae2b9cd377978ef7018b95e2d16b17042e2eb76b.tar.gz tcl-ae2b9cd377978ef7018b95e2d16b17042e2eb76b.tar.bz2 |
Now really fix test-case http-4.14bug_2911139
-rw-r--r-- | tests/http.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/http.test b/tests/http.test index b03df88..3ec0a6f 100644 --- a/tests/http.test +++ b/tests/http.test @@ -464,8 +464,8 @@ test http-4.14 {http::Event} -body { error "bogus return from http::geturl" } http::wait $token - http::status $token -} -result {timeout} + lindex [http::error $token] 0 +} -result {connect failed connection refused} # Bogus host test http-4.15 {http::Event} -body { # This test may fail if you use a proxy server. That is to be |