summaryrefslogtreecommitdiffstats
path: root/tests/event.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2001-06-27 15:34:16 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2001-06-27 15:34:16 (GMT)
commit4639672056e18ec52043f2e4c889b68accda6d8d (patch)
treecfce482503a6f3ea3592b8c3f43a0b1e25e4ba0f /tests/event.test
parent544207080e881b8c182ab52bd14cf6988a7e22d1 (diff)
downloadtcl-4639672056e18ec52043f2e4c889b68accda6d8d.zip
tcl-4639672056e18ec52043f2e4c889b68accda6d8d.tar.gz
tcl-4639672056e18ec52043f2e4c889b68accda6d8d.tar.bz2
* tests/event.test (event-11.5): Removed hard-coded port number
which could fail on some systems. [Bug #436727]
Diffstat (limited to 'tests/event.test')
-rw-r--r--tests/event.test6
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