Posted to tcl by oehhar at Wed May 21 13:10:41 GMT 2014view raw
- [oehhar@rose unix]$ make test-tcl TESTFLAGS="-file socket.test -match socket-14.\* -verbose bpste"
- LD_LIBRARY_PATH=`pwd`: TCLLIBPATH="/home/oehhar/test/tcl-trunk-merged/unix/pkgs" TCL_LIBRARY="/home/oehhar/test/tcl-trunk-merged/library" ./tcltest /home/oehhar/test/tcl-trunk-merged/tests/all.tcl -file socket.test -match socket-14.\* -verbose bpste
- Tests running in interp: /home/oehhar/test/tcl-trunk-merged/unix/tcltest
- Tests located in: /home/oehhar/test/tcl-trunk-merged/tests
- Tests running in: /home/oehhar/test/tcl-trunk-merged/unix
- Temporary files stored in /home/oehhar/test/tcl-trunk-merged/unix
- Test files run in separate interpreters
- Running tests that match: socket-14.*
- Skipping test files that match: l.*.test
- Only running test files that match: socket.test
- Tests began at Wed May 21 15:05:00 CEST 2014
- socket.test
- ---- socket-14.0.0 start
- ++++ socket-14.0.0 PASSED
- ++++ socket-14.0.1 SKIPPED: localhost_v6
- ---- socket-14.1 start
- ++++ socket-14.1 PASSED
- ---- socket-14.2 start
- ==== socket-14.2 [socket -async] fileevent connection refused FAILED
- ==== Contents of test case:
- set client [socket -async localhost [randport]]
- fileevent $client writable {set x ok}
- set after [after $latency {set x timeout}]
- vwait x
- after cancel $after
- lappend x [fconfigure $client -error]
- ---- Result was:
- timeout {connection refused}
- ---- Result should have been (exact matching):
- ok {connection refused}
- ==== socket-14.2 FAILED
- ++++ socket-14.3 SKIPPED: localhost_v6
- ---- socket-14.4 start
- ++++ socket-14.4 PASSED
- ---- socket-14.5 start
- ++++ socket-14.5 PASSED
- ---- socket-14.6.0 start
- ++++ socket-14.6.0 PASSED
- ---- socket-14.6.1 start
- ==== socket-14.6.1 [socket -async] with no event loop and server listening on IPv6 FAILED
- ==== Contents of test case:
- set client [socket -async localhost $port]
- for {set i 0} {$i < 50} {incr i } {
- update
- if {$x ne ""} {
- lappend x [gets $client]
- break
- }
- after 100
- }
- set x
- ---- Result was:
- ---- Result should have been (exact matching):
- ok bye
- ==== socket-14.6.1 FAILED
- ---- socket-14.7.0 start
- ++++ socket-14.7.0 PASSED
- ---- socket-14.7.1 start
- ==== socket-14.7.1 pending [socket -async] and blocking [gets], server is IPv6 FAILED
- ==== Contents of test case:
- set sock [socket -async localhost $port]
- list [fconfigure $sock -error] [gets $sock] [fconfigure $sock -error]
- ---- Test generated error; Return code was: 1
- ---- Return code should have been one of: 0 2
- ---- errorInfo: error reading "socke353a0": socket is not connected
- while executing
- "gets $sock"
- ("uplevel" body line 3)
- invoked from within
- "uplevel 1 $script"
- ---- errorCode: POSIX ENOTCONN {socket is not connected}
- ==== socket-14.7.1 FAILED
- ---- socket-14.7.2 start
- ++++ socket-14.7.2 PASSED
- ---- socket-14.8.0 start
- ++++ socket-14.8.0 PASSED
- ---- socket-14.8.1 start
- ==== socket-14.8.1 pending [socket -async] and nonblocking [gets], server is IPv6 FAILED
- ==== Contents of test case:
- set sock [socket -async localhost $port]
- fconfigure $sock -blocking 0
- for {set i 0} {$i < 50} {incr i } {
- if {[catch {gets $sock} x] || $x ne "" || ![fblocked $sock]} break
- after 200
- }
- set x
- ---- Result was:
- error reading "sockeca470": socket is not connected
- ---- Result should have been (exact matching):
- ok
- ==== socket-14.8.1 FAILED
- ---- socket-14.8.2 start
- ++++ socket-14.8.2 PASSED
- ---- socket-14.9.0 start
- ++++ socket-14.9.0 PASSED
- ---- socket-14.9.1 start
- ^Cmake: *** wait: Keine Kind-Prozesse. Schluss.
- make: *** Warte auf noch nicht beendete Prozesse...
- make: *** wait: Keine Kind-Prozesse. Schluss.
- [oehhar@rose unix]$