summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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