Posted to tcl by mjanssen at Fri Jun 24 20:40:09 GMT 2022view pretty

Tests began at Fri Jun 24 22:38:12 CEST 2022
sock.test


==== sock-1.6 getaddrinfo empty host and port FAILED
==== Contents of test case:

    expr {[llength [sock::getaddrinfo "" ""]] != 0}

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: cannot resolve hostname "" or service "": nodename nor servname provided, or not known
    while executing
"sock::getaddrinfo "" """
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== sock-1.6 FAILED

invalid command name "SOCK"
    while executing
"SOCK $socktype"
    ("foreach" body line 5)
    invoked from within
"foreach family {INET INET6} {
    set socktype STREAM

    set f [PF $family]
    set t [SOCK $socktype]
    
    test sock-2.$f.$t "Data synchronous ..."
    (file "/Users/mpcjanssen/Src/home/tests/sock.test" line 59)
    invoked from within
"source $file"

Tests ended at Fri Jun 24 22:38:12 CEST 2022
all.tcl:	Total	9	Passed	8	Skipped	0	Failed	1
Sourced 0 Test Files.