Posted to tcl by jdc at Fri Nov 05 13:39:06 GMT 2010view raw
- ==== socket_inet6-2.1 tcp connection FAILED
- ==== Contents of test case:
-
- # $x == "ready" at this point
- set sock [socket $localhost $listen]
- lappend x [gets $f]
- close $sock
- lappend x [gets $f]
-
- ---- Result was:
- ready timed_out {}
- ---- Result should have been (exact matching):
- ready done {}
- ==== socket_inet6-2.1 FAILED
-
-
-
- ==== socket_inet6-2.2 tcp connection with client port specified FAILED
- ==== Contents of test case:
-
- # $x == "ready" at this point
- set sock [socket -myport $port $localhost $listen]
- puts $sock hello
- flush $sock
- lappend x [expr {[gets $f] eq "hello $port"}]
- close $sock
- return $x
-
- ---- Result was:
- ready 0
- ---- Result should have been (exact matching):
- ready 1
- ==== socket_inet6-2.2 FAILED
-
-
-
- ==== socket_inet6-2.3 tcp connection with client interface specified FAILED
- ==== Contents of test case:
-
- # $x == "ready" at this point
- set sock [socket -myaddr $localhost $localhost $listen]
- puts $sock hello
- flush $sock
- lappend x [gets $f]
- close $sock
- return $x
-
- ---- Result was:
- ready {}
- ---- Result should have been (exact matching):
- ready {hello ::1}
- ==== socket_inet6-2.3 FAILED