summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-23 14:11:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-23 14:11:12 (GMT)
commit4462cc72bb42f0c350c2059a67c357a63220e326 (patch)
tree30bea1825b088741bc9e20b18e6ac4179c238285 /tests
parent5527cd9c6af02e9a7ccfcb8f56526e5a484dfbcd (diff)
parent5c9b640714bee1ace568923c48755f7b04d9fd9c (diff)
downloadtcl-4462cc72bb42f0c350c2059a67c357a63220e326.zip
tcl-4462cc72bb42f0c350c2059a67c357a63220e326.tar.gz
tcl-4462cc72bb42f0c350c2059a67c357a63220e326.tar.bz2
merge trunk
Diffstat (limited to 'tests')
-rw-r--r--tests/http.test7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/http.test b/tests/http.test
index 9861e0e..e2de7d8 100644
--- a/tests/http.test
+++ b/tests/http.test
@@ -547,11 +547,10 @@ test http-4.14 {http::Event} -body {
error "bogus return from http::geturl"
}
http::wait $token
- http::status $token
- # error code varies among platforms.
-} -returnCodes 1 -match regexp -cleanup {
+ lindex [http::error $token] 0
+} -cleanup {
catch {http::cleanup $token}
-} -result {(connect failed|couldn't open socket)}
+} -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