summaryrefslogtreecommitdiffstats
path: root/tests/socket.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/socket.test')
-rw-r--r--tests/socket.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/socket.test b/tests/socket.test
index cca7abb..6952ba9 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.21 2002/01/25 23:06:58 mdejong Exp $
+# RCS: @(#) $Id: socket.test,v 1.22 2002/02/27 20:55:55 andreas_kupries Exp $
# Running socket tests with a remote server:
# ------------------------------------------
@@ -433,7 +433,7 @@ test socket-2.7 {echo server, one line} {socket stdio} {
removeFile script
set f [open script w]
puts $f {
- set timer [after 2000 "set x done"]
+ set timer [after 10000 "set x timeout"]
set f [socket -server accept 0]
proc accept {s a p} {
fileevent $s readable [list echo $s]
@@ -454,7 +454,7 @@ test socket-2.7 {echo server, one line} {socket stdio} {
vwait x
after cancel $timer
close $f
- puts done
+ puts $x
}
close $f
set f [open "|[list $::tcltest::tcltest script]" r]