cc -DHAVE_CONFIG_H -I. -Igeneric -Isnmp -I"/usr/local/include/tcl8.6" -g -O2 -pipe -O2 -DNDEBUG -Wall -fPIC -c -O2 -DNDEBUG -Wall unix/scotty.c cc -o scotty scotty.o -g -O2 -pipe -O2 -DNDEBUG -Wall -fPIC -O2 -DNDEBUG -Wall -L/usr/local/lib -ltcl86 -L/usr/local/lib -ltclstub86 -Wl,-rpath,/usr/local/lib TCLLIBPATH="."; export TCLLIBPATH; pwd=`pwd`; cd tests; $pwd/scotty all.tcl Tcl 8.6.6 tests running in interp: /usr/home/jorge/progs/scotty/tnm/scotty Tests running in working dir: /usr/home/jorge/progs/scotty/tnm/tests Only running tests that match: * Skipping test files that match: l.*.test Only sourcing test files that match: *.test Tests began at Wed Mar 01 18:09:19 CST 2017 dns.test ++++ dns-2.9 SKIPPED: dnsAvailable ++++ dns-3.1 SKIPPED: dnsAvailable ++++ dns-3.3 SKIPPED: dnsAvailable ++++ dns-4.1 SKIPPED: dnsAvailable ++++ dns-5.1 SKIPPED: dnsAvailable ++++ dns-5.2 SKIPPED: knownBug ++++ dns-6.1 SKIPPED: dnsAvailable ++++ dns-7.1 SKIPPED: knownBug icmp.test job.test map.test mib.test ++++ mib-5.5 SKIPPED: knownBug ==== mib-7.14 mib format FAILED ==== Contents of test case: mib format BinaryValue 12345 ---- Result was: 1100000011100100000000000000000011000000111001 ---- Result should have been (exact matching): 11000000111001 ==== mib-7.14 FAILED ==== mib-7.15 mib format FAILED ==== Contents of test case: mib format BinaryValue -12345 ---- Result was: -1100000011100100000000000000000011000000111001 ---- Result should have been (exact matching): -11000000111001 ==== mib-7.15 FAILED ++++ mib-9.1 SKIPPED: knownBug ++++ mib-9.2 SKIPPED: knownBug ++++ mib-15.4 SKIPPED: knownBug ++++ mib-16.4 SKIPPED: knownBug ++++ mib-21.6 SKIPPED: knownBug ++++ mib-27.5 SKIPPED: knownBug ++++ mib-27.6 SKIPPED: knownBug ++++ mib-27.7 SKIPPED: knownBug ++++ mib-27.8 SKIPPED: knownBug ++++ mib-27.9 SKIPPED: knownBug ++++ mib-27.10 SKIPPED: knownBug ++++ mib-27.11 SKIPPED: knownBug ++++ mib-27.14 SKIPPED: knownBug ++++ mib-30.4 SKIPPED: knownBug ++++ mib-30.6 SKIPPED: knownBug ++++ mib-30.7 SKIPPED: knownBug ++++ mib-30.8 SKIPPED: knownBug ++++ mib-30.10 SKIPPED: knownBug ++++ mib-30.11 SKIPPED: knownBug ++++ mib-31.23 SKIPPED: knownBug ++++ mib-37.4 SKIPPED: knownBug netdb.test ++++ netdb-3.8 SKIPPED: knownBug ++++ netdb-3.9 SKIPPED: knownBug ++++ netdb-6.6 SKIPPED: hangsFreeBSD ++++ netdb-6.7 SKIPPED: hangsFreeBSD ++++ netdb-7.5 SKIPPED: knownBug ++++ netdb-7.6 SKIPPED: knownBug ++++ netdb-8.5 SKIPPED: knownBug ntp.test snmp.test ++++ snmp-2.8 SKIPPED: knownBug ++++ snmp-2.9 SKIPPED: knownBug ==== snmp-X.1 snmp Unsigned32 type FAILED ==== Contents of test case: list [catch {snmp expand {{1.3 Unsigned32 4294967296}}} msg] $msg ---- Result was: 0 {{1.3 Unsigned32 4294967296}} ---- Result should have been (exact matching): 1 {unsigned value too large to represent} ==== snmp-X.1 FAILED ==== snmp-X.6 snmp Gauge32 type FAILED ==== Contents of test case: list [catch {snmp expand {{1.3 Gauge32 4294967296}}} msg] $msg ---- Result was: 0 {{1.3 Gauge32 4294967296}} ---- Result should have been (exact matching): 1 {unsigned value too large to represent} ==== snmp-X.6 FAILED ==== snmp-X.11 snmp Counter32 type FAILED ==== Contents of test case: list [catch {snmp expand {{1.3 Counter32 4294967296}}} msg] $msg ---- Result was: 0 {{1.3 Counter32 4294967296}} ---- Result should have been (exact matching): 1 {unsigned value too large to represent} ==== snmp-X.11 FAILED ==== snmp-X.16 snmp TimeTicks type FAILED ==== Contents of test case: list [catch {snmp expand {{1.3 TimeTicks 4294967296}}} msg] $msg ---- Result was: 0 {{1.3 TimeTicks 4294967296}} ---- Result should have been (exact matching): 1 {unsigned value too large to represent} ==== snmp-X.16 FAILED ++++ snmp-X.21 SKIPPED: knownBug ++++ snmp-X.31 SKIPPED: knownBug ++++ snmp-5.7 SKIPPED: knownBug ++++ snmp-5.8 SKIPPED: knownBug ++++ snmp-8.3 SKIPPED: knownBug ++++ snmp-8.4 SKIPPED: knownBug ++++ snmp-9.4 SKIPPED: knownBug ++++ snmp-10.4 SKIPPED: knownBug sunrpc.test ++++ sunrpc-2.1 SKIPPED: runWithEvilCatchCrash ++++ sunrpc-2.6 SKIPPED: etherdAvailable ++++ sunrpc-3.1 SKIPPED: runWithEvilCatchCrash ++++ sunrpc-3.4 SKIPPED: mountdAvailable ++++ sunrpc-4.1 SKIPPED: runWithEvilCatchCrash ++++ sunrpc-4.4 SKIPPED: rpcServerAvailable ++++ sunrpc-4.5 SKIPPED: rpcServerAvailable ++++ sunrpc-4.6 SKIPPED: rpcServerAvailable ++++ sunrpc-5.1 SKIPPED: runWithEvilCatchCrash ++++ sunrpc-5.4 SKIPPED: mountdAvailable ++++ sunrpc-6.1 SKIPPED: runWithEvilCatchCrash ++++ sunrpc-7.1 SKIPPED: runWithEvilCatchCrash ++++ sunrpc-7.9 SKIPPED: rpcServerAvailable ++++ sunrpc-7.10 SKIPPED: rpcServerAvailable ++++ sunrpc-8.1 SKIPPED: runWithEvilCatchCrash ++++ sunrpc-8.4 SKIPPED: rstatdAvailable syslog.test udp.test ==== udp-7.1 udp receive: one endpoint FAILED ==== Contents of test case: catch {rename u {}} rename [udp create -myaddress 127.0.0.1 -myport 1234] u u send 127.0.0.1 1234 "nase" u receive ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: receive failed on "u": resource temporarily unavailable while executing "u receive" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EAGAIN {resource temporarily unavailable} ==== udp-7.1 FAILED ==== udp-7.2 udp receive: two endpoints FAILED ==== Contents of test case: catch {rename u {}} rename [udp create -myaddress 127.0.0.1 -myport 1235] u set s [udp create -myaddress 127.0.0.1 -myport 1236] $s connect 127.0.0.1 1235 $s send "nase" $s destroy u receive ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: receive failed on "u": resource temporarily unavailable while executing "u receive" ("uplevel" body line 8) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EAGAIN {resource temporarily unavailable} ==== udp-7.2 FAILED ==== udp-7.3 udp receive FAILED ==== Contents of test case: catch {rename u {}} rename [udp create -myaddress 127.0.0.1 -myport 1234] u u send 127.0.0.1 1234 [binary format "H*" "000102030405060708090a0b0c0d0e0f"] binary scan [lindex [u receive] 2] "H*" s set s ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: receive failed on "u": resource temporarily unavailable while executing "u receive" ("uplevel" body line 5) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EAGAIN {resource temporarily unavailable} ==== udp-7.3 FAILED ++++ udp-9.1 SKIPPED: sayHelloToBraunschweigUniversity ==== udp-11.2.1 udp configure/send: send to configured, w/o connect FAILED ==== Contents of test case: catch {rename udp# {}} set r [udp create -myaddress 127.0.0.1 -myport $::SOME_PORT] rename [udp create -address 127.0.0.1 -port $::SOME_PORT -myport $::OTHER_PORT] udp# udp# send "nase" $r receive ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: receive failed on "udp31": resource temporarily unavailable while executing "$r receive" ("uplevel" body line 6) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EAGAIN {resource temporarily unavailable} ==== udp-11.2.1 FAILED ==== udp-11.2.2 udp configure/send: send to connected FAILED ==== Contents of test case: catch {rename udp# {}} rename [udp create -myaddress 127.0.0.1 -myport $::SOME_PORT] udp# udp# configure -address 127.0.0.1 -port $::OTHER_PORT udp# connect 127.0.0.1 $::SOME_PORT udp# send "nase" udp# receive ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: can not bind socket: address already in use while executing "udp create -myaddress 127.0.0.1 -myport $::SOME_PORT" ("uplevel" body line 3) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EADDRINUSE {address already in use} ==== udp-11.2.2 FAILED ==== udp-11.2.3 udp configure/send: send to configured, connected FAILED ==== Contents of test case: catch {rename udp# {}} set r [udp create -myaddress 127.0.0.1 -myport $::SOME_PORT] rename [udp create -myaddress 127.0.0.1 -myport $::OTHER_PORT] udp# udp# connect 127.0.0.1 $::OTHER_PORT udp# configure -address 127.0.0.1 -port $::SOME_PORT udp# send "nase" $r receive ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: can not bind socket: address already in use while executing "udp create -myaddress 127.0.0.1 -myport $::SOME_PORT" ("uplevel" body line 3) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EADDRINUSE {address already in use} ==== udp-11.2.3 FAILED Tests ended at Wed Mar 01 18:09:56 CST 2017 Elapsed: 37 seconds. all.tcl: Total 685 Passed 608 Skipped 65 Failed 12 Sourced 0 Test Files. Files with failing tests: mib.test snmp.test udp.test Number of tests skipped for each constraint: 6 dnsAvailable 1 etherdAvailable 2 hangsFreeBSD 39 knownBug 2 mountdAvailable 1 ntpNotAvailable 5 rpcServerAvailable 1 rstatdAvailable 7 runWithEvilCatchCrash 1 sayHelloToBraunschweigUniversity