summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-08-07 00:42:30 (GMT)
committerhobbs <hobbs>2001-08-07 00:42:30 (GMT)
commit2fdc0fc681d2ffe92f526959cf8910e66bc0c2e6 (patch)
treecb017762e20ee402e1edf48add82f3ae71869093
parent329264cb8b97c725088f34c540bd8c1f22a8d0fd (diff)
downloadtcl-2fdc0fc681d2ffe92f526959cf8910e66bc0c2e6.zip
tcl-2fdc0fc681d2ffe92f526959cf8910e66bc0c2e6.tar.gz
tcl-2fdc0fc681d2ffe92f526959cf8910e66bc0c2e6.tar.bz2
* tests/http.test (http-4.14): fixed variable error return.
[Bug: 424252]
-rw-r--r--tests/http.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/http.test b/tests/http.test
index e5b43b6..70ca2f6 100644
--- a/tests/http.test
+++ b/tests/http.test
@@ -12,7 +12,7 @@
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
#
-# RCS: @(#) $Id: http.test,v 1.22 2001/05/21 22:30:44 hobbs Exp $
+# RCS: @(#) $Id: http.test,v 1.23 2001/08/07 00:42:30 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -425,7 +425,7 @@ test http-4.14 {http::Event} {
http::status $token
} err]
# error code varies among platforms.
- list $code [string match "connect failed*" $err]
+ list $code [regexp {(connect failed|couldn't open socket)} $err]
} {1 1}
# Bogus host