diff options
author | hobbs <hobbs@noemail.net> | 2001-08-07 00:42:30 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2001-08-07 00:42:30 (GMT) |
commit | c0688fc70c6ea1629b65861880d56c98409fbef7 (patch) | |
tree | cb017762e20ee402e1edf48add82f3ae71869093 /tests | |
parent | e7cccda89fbf7aaf1213d14c3010ac03b3ec338e (diff) | |
download | tcl-c0688fc70c6ea1629b65861880d56c98409fbef7.zip tcl-c0688fc70c6ea1629b65861880d56c98409fbef7.tar.gz tcl-c0688fc70c6ea1629b65861880d56c98409fbef7.tar.bz2 |
* tests/http.test (http-4.14): fixed variable error return.
[Bug: 424252]
FossilOrigin-Name: deb6444bd3f2aa135bf2c2c4fde3525110d188e0
Diffstat (limited to 'tests')
-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 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 |