summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--ChangeLog6
-rw-r--r--tests/socket.test4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b8f05ae..b645eb0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-06-06 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * tests/socket.test: 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.
+
2011-06-02 Don Porter <dgp@users.sourceforge.net>
* generic/tclBasic.c: Removed TclCleanupLiteralTable(), and old
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