summaryrefslogtreecommitdiffstats
path: root/tests/socket.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-06-06 13:48:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-06-06 13:48:44 (GMT)
commit9dacec2990cb68db16de2ce9045612678277ee79 (patch)
tree8d839a5e22b23de060ff3bfe6acf7faf0f1c0286 /tests/socket.test
parent877e07444a016659d8dbbe96478f44c4f56aa40f (diff)
downloadtcl-9dacec2990cb68db16de2ce9045612678277ee79.zip
tcl-9dacec2990cb68db16de2ce9045612678277ee79.tar.gz
tcl-9dacec2990cb68db16de2ce9045612678277ee79.tar.bz2
Add test constraint, so 6.2 and 6.3 don't fail when the machine does not have support for ip6
Follow-up to checkin from 2011-05-11 by rmax
Diffstat (limited to 'tests/socket.test')
-rw-r--r--tests/socket.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/socket.test b/tests/socket.test
index 83bad09..4a9bcb9 100644
--- a/tests/socket.test
+++ b/tests/socket.test
@@ -804,7 +804,7 @@ test socket_$af-6.2 {
readable fileevent on server socket
} -setup {
set sock [socket -server dummy 0]
-} -body {
+} -constraints [list socket supported_$af] -body {
fileevent $sock readable dummy
} -cleanup {
close $sock
@@ -812,7 +812,7 @@ test socket_$af-6.2 {
test socket_$af-6.3 {writable fileevent on server socket} -setup {
set sock [socket -server dummy 0]
-} -body {
+} -constraints [list socket supported_$af] -body {
fileevent $sock writable dummy
} -cleanup {
close $sock