From 4639672056e18ec52043f2e4c889b68accda6d8d Mon Sep 17 00:00:00 2001 From: dkf Date: Wed, 27 Jun 2001 15:34:16 +0000 Subject: * tests/event.test (event-11.5): Removed hard-coded port number which could fail on some systems. [Bug #436727] --- ChangeLog | 5 +++++ tests/event.test | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 803fb49..e205f26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-06-27 Donal K. Fellows + + * tests/event.test (event-11.5): Removed hard-coded port number + which could fail on some systems. [Bug #436727] + 2001-06-26 Mo DeJong * unix/Makefile.in: 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 -- cgit v0.12