diff options
author | rmax <rmax@noemail.net> | 2010-11-04 21:08:18 (GMT) |
---|---|---|
committer | rmax <rmax@noemail.net> | 2010-11-04 21:08:18 (GMT) |
commit | c8c6da9c078b275bd59c3a4e25d1987fa8abdeb4 (patch) | |
tree | e1f6bf520b6ea469c757aa45bc6f829bf2445004 /tests/socket.test | |
parent | bc999ac24fd6f2ab6c348db48e671323ff04ee8f (diff) | |
download | tcl-c8c6da9c078b275bd59c3a4e25d1987fa8abdeb4.zip tcl-c8c6da9c078b275bd59c3a4e25d1987fa8abdeb4.tar.gz tcl-c8c6da9c078b275bd59c3a4e25d1987fa8abdeb4.tar.bz2 |
avoid having to wait for some child processes to time out after all tests have been run
FossilOrigin-Name: 1c63c22e4d1939f18c198408c2fb11acb177349b
Diffstat (limited to 'tests/socket.test')
-rw-r--r-- | tests/socket.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/socket.test b/tests/socket.test index c937b7b..7827ce6 100644 --- a/tests/socket.test +++ b/tests/socket.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution of # this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: socket.test,v 1.47 2010/11/04 18:39:31 rmax Exp $ +# RCS: @(#) $Id: socket.test,v 1.48 2010/11/04 21:08:19 rmax Exp $ # Running socket tests with a remote server: # ------------------------------------------ @@ -1448,6 +1448,7 @@ test socket_$af-12.1 {testing inheritance of server sockets} -setup { # will be held open for 10 seconds set f [open $path(script1) w] puts $f { + fileevent stdin readable exit after 10000 exit vwait forever } @@ -1489,6 +1490,7 @@ test socket_$af-12.2 {testing inheritance of client sockets} -setup { # will be held open for 20 seconds set f [open $path(script1) w] puts $f { + fileevent stdin readable exit after 20000 exit vwait forever } @@ -1559,6 +1561,7 @@ test socket_$af-12.3 {testing inheritance of accepted sockets} -setup { file delete $path(script2) set f [open $path(script1) w] puts $f { + fileevent stdin readable exit after 10000 exit vwait forever } |