diff options
author | dkf <dkf@noemail.net> | 2001-06-27 15:34:15 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2001-06-27 15:34:15 (GMT) |
commit | fb7e9bfa90959ad03ff17fdecbc4629c0e6f629c (patch) | |
tree | cfce482503a6f3ea3592b8c3f43a0b1e25e4ba0f /tests | |
parent | 4f63e93574f9d15f8d58d292f180ccd8b76b4779 (diff) | |
download | tcl-fb7e9bfa90959ad03ff17fdecbc4629c0e6f629c.zip tcl-fb7e9bfa90959ad03ff17fdecbc4629c0e6f629c.tar.gz tcl-fb7e9bfa90959ad03ff17fdecbc4629c0e6f629c.tar.bz2 |
* tests/event.test (event-11.5): Removed hard-coded port number
which could fail on some systems. [Bug #436727]
FossilOrigin-Name: 9aa7b73c9e6bcf06132eed9d3de9f9a322910b38
Diffstat (limited to 'tests')
-rw-r--r-- | tests/event.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/event.test b/tests/event.test index 3f5bc2e..9d2e5fd 100644 --- a/tests/event.test +++ b/tests/event.test @@ -9,7 +9,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: event.test,v 1.11 2000/04/10 17:18:58 ericm Exp $ +# RCS: @(#) $Id: event.test,v 1.12 2001/06/27 15:34:16 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -393,9 +393,9 @@ test event-11.5 {Tcl_VwaitCmd procedure: round robin scheduling, 2 sources} {soc puts $s foobar close $s } - catch {set s1 [socket -server accept 5001]} + catch {set s1 [socket -server accept 0]} after 1000 - catch {set s2 [socket 127.0.0.1 5001]} + catch {set s2 [socket 127.0.0.1 [lindex [fconfigure $s1 -sockname] 2]]} close $s1 set x 0 set y 0 |