summaryrefslogtreecommitdiffstats
path: root/tests/socket.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-09-02 13:19:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-09-02 13:19:47 (GMT)
commit33243cc1f9d89ae5e3ab90854bd7e3dfbe76773a (patch)
tree2ed20cb0bcf2ab2b0d98752c1b43ef519d9ea0a6 /tests/socket.test
parenta18e29f96b7b7a0699ed4d5df433b0b0660341e3 (diff)
downloadtcl-33243cc1f9d89ae5e3ab90854bd7e3dfbe76773a.zip
tcl-33243cc1f9d89ae5e3ab90854bd7e3dfbe76773a.tar.gz
tcl-33243cc1f9d89ae5e3ab90854bd7e3dfbe76773a.tar.bz2
nonportable -> nonPortable
Diffstat (limited to 'tests/socket.test')
-rw-r--r--tests/socket.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/socket.test b/tests/socket.test
index 4f90e51..8473602 100644
--- a/tests/socket.test
+++ b/tests/socket.test
@@ -1794,7 +1794,7 @@ test socket_$af-13.1 {Testing use of shared socket between two threads} -body {
close $s
thread::release $serverthread
append result " " [llength [thread::names]]
-} -result {hello 1} -constraints [list socket supported_$af thread]
+} -result {hello 1} -constraints [list socket supported_$af thread]
# ----------------------------------------------------------------------
@@ -2249,7 +2249,7 @@ test socket-14.11.0 {pending [socket -async] and nonblocking [puts], no listener
unset x
} -result {socket is not connected} -returnCodes 1
test socket-14.11.1 {pending [socket -async] and nonblocking [puts], no listener, flush} \
- -constraints {socket nonportable} \
+ -constraints {socket nonPortable} \
-body {
set sock [socket -async localhost [randport]]
fconfigure $sock -blocking 0
@@ -2281,10 +2281,10 @@ test socket-14.13 {testing writable event when quick failure} \
-constraints {socket win supported_inet} \
-body {
# Test for bug 336441ed59 where a quick background fail was ignored
-
+
# Test only for windows as socket -async 255.255.255.255 fails
# directly on unix
-
+
# The following connect should fail very quickly
set a1 [after 2000 {set x timeout}]
set s [socket -async 255.255.255.255 43434]
@@ -2299,7 +2299,7 @@ test socket-14.13 {testing writable event when quick failure} \
test socket-14.14 {testing fileevent readable on failed async socket connect} \
-constraints {socket} -body {
# Test for bug 581937ab1e
-
+
set a1 [after 5000 {set x timeout}]
# This connect should fail
set s [socket -async localhost [randport]]