Artifacts Associated With Ticket 218256
Ticket change [666ea97c9a] (rid 102711) by nobody on 2000-10-26 00:55:08:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2996 Bug Version: 8.2 SubmitDate: '1999-09-29' LastModified: '1999-09-30' Severity: CRIT Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Solaris OSVersion: 2.6 Machine: Other FixedDate: '2000-10-25' ClosedDate: '1999-09-30' Name: Larry W. Virden CVS: Sep 29 8am EDT Extensions: none CustomShell: none Comments: Working revision: 1.103 Repository revision: 1.103 /cvsroot/tcl/ChangeLog,v Sticky Tag: core-8-2-0 (revision: 1.103) I understand working from the repository is risky. However, with user reports of possible problems, I try to build against the 'latest' version so that I can see if problems have been fixed yet. ReproducibleScript: make test ObservedBehavior: event.test ==== event-8.1 Tcl_CreateExitHandler procedure FAILED ==== Contents of test case: set child [open |[list [info nameofexecutable]] r+] puts $child "testexithandler create 41; testexithandler create 4" puts $child "testexithandler create 6; exit" flush $child set result [read $child] close $child set result ==== Test generated error: invalid command name "}" ---- Result should have been: even 6 even 4 odd 41 ==== event-8.1 FAILED ==== event-9.1 Tcl_DeleteExitHandler procedure FAILED ==== Contents of test case: set child [open |[list [info nameofexecutable]] r+] puts $child "testexithandler create 41; testexithandler create 4" puts $child "testexithandler create 6; testexithandler delete 41" puts $child "testexithandler create 16; exit" flush $child set result [read $child] close $child set result ==== Test generated error: invalid command name "}" ---- Result should have been: even 16 even 6 even 4 ==== event-9.1 FAILED ==== event-9.2 Tcl_DeleteExitHandler procedure FAILED ==== Contents of test case: set child [open |[list [info nameofexecutable]] r+] puts $child "testexithandler create 41; testexithandler create 4" puts $child "testexithandler create 6; testexithandler delete 4" puts $child "testexithandler create 16; exit" flush $child set result [read $child] close $child set result ==== Test generated error: invalid command name "}" ---- Result should have been: even 16 even 6 odd 41 ==== event-9.2 FAILED ==== event-9.3 Tcl_DeleteExitHandler procedure FAILED ==== Contents of test case: set child [open |[list [info nameofexecutable]] r+] puts $child "testexithandler create 41; testexithandler create 4" puts $child "testexithandler create 6; testexithandler delete 6" puts $child "testexithandler create 16; exit" flush $child set result [read $child] close $child set result ==== Test generated error: invalid command name "}" ---- Result should have been: even 16 even 4 odd 41 ==== event-9.3 FAILED ==== event-9.4 Tcl_DeleteExitHandler procedure FAILED ==== Contents of test case: set child [open |[list [info nameofexecutable]] r+] puts $child "testexithandler create 41; testexithandler delete 41" puts $child "testexithandler create 16; exit" flush $child set result [read $child] close $child set result ==== Test generated error: invalid command name "}" ---- Result should have been: even 16 ==== event-9.4 FAILED ==== event-10.1 Tcl_Exit procedure FAILED ==== Contents of test case: set child [open |[list [info nameofexecutable]] r+] puts $child "exit 3" list [catch {close $child} msg] $msg [lindex $errorCode 0] [lindex $errorCode 2] ---- Result was: 1 invalid\ command\ name\ \"\}\" CHILDSTATUS 3 ---- Result should have been: 1 {child process exited abnormally} CHILDSTATUS 3 ==== event-10.1 FAILED ==== event-11.5 Tcl_VwaitCmd procedure: round robin scheduling, 2 sources FAILED ==== Contents of test case: set f1 [open test1 w] proc accept {s args} { puts $s foobar close $s } set s1 [socket -server accept 5001] after 1000 set s2 [socket 127.0.0.1 5001] close $s1 set x 0 set y 0 set z 0 fileevent $s2 readable { incr z } vwait z fileevent $f1 writable { incr x; if { $y == 3 } { set z done } } fileevent $s2 readable { incr y; if { $x == 3 } { set z done } } vwait z close $f1 close $s2 file delete test1 test2 list $x $y $z ==== Test generated error: couldn't open socket: address already in use ---- Result should have been: 3 3 done ==== event-11.5 FAILED exec.test ==== exec-16.2 flush output before exec FAILED ==== Contents of test case: set f [open gorp.file w] puts $f "First line" exec $::tcltest::tcltest << {puts stderr {Second line}} >&@ $f > gorp.file2 puts $f "Third line" close $f exec $::tcltest::tcltest cat gorp.file ---- Result was: First line invalid command name "}" Second line Third line ---- Result should have been: First line Second line Third line ==== exec-16.2 FAILED io.test ==== io-26.1 Tcl_GetChannelInstanceData FAILED ==== Contents of test case: # "pid" command uses Tcl_GetChannelInstanceData # Don't care what pid is (but must be a number), just want to exercise it. set f [open "|[list $::tcltest::tcltest << exit]"] expr [pid $f] close $f ==== Test generated error: invalid command name "}" ---- Result should have been: ==== io-26.1 FAILED ==== io-34.8 Tcl_Seek on pipes: not supported FAILED ==== Contents of test case: set f1 [open "|[list $::tcltest::tcltest]" r+] set x [list [catch {seek $f1 0 current} msg] $msg] close $f1 regsub {".*":} $x {"":} x string tolower $x ==== Test generated error: invalid command name "}" ---- Result should have been: 1 {error during seek on "": invalid argument} ==== io-34.8 FAILED ==== io-34.16 Tcl_tell on pipe: always -1 FAILED ==== Contents of test case: set f1 [open "|[list $::tcltest::tcltest]" r+] set c [tell $f1] close $f1 set c ==== Test generated error: invalid command name "}" ---- Result should have been: -1 ==== io-34.16 FAILED ==== io-34.17 Tcl_Tell on pipe: always -1 FAILED ==== Contents of test case: set f1 [open "|[list $::tcltest::tcltest]" r+] puts $f1 {puts hello} flush $f1 set c [tell $f1] gets $f1 close $f1 set c ==== Test generated error: invalid command name "}" ---- Result should have been: -1 ==== io-34.17 FAILED ==== io-36.1 Tcl_InputBlocked on nonblocking pipe FAILED ==== Contents of test case: set f1 [open "|[list $::tcltest::tcltest]" r+] puts $f1 {puts hello_from_pipe} flush $f1 gets $f1 fconfigure $f1 -blocking off -buffering full puts $f1 {puts hello} set x "" lappend x [gets $f1] lappend x [fblocked $f1] flush $f1 after 200 lappend x [gets $f1] lappend x [fblocked $f1] lappend x [gets $f1] lappend x [fblocked $f1] close $f1 set x ==== Test generated error: invalid command name "}" ---- Result should have been: {} 1 hello 0 {} 1 ==== io-36.1 FAILED ==== io-36.2 Tcl_InputBlocked on blocking pipe FAILED ==== Contents of test case: set f1 [open "|[list $::tcltest::tcltest]" r+] fconfigure $f1 -buffering line puts $f1 {puts hello_from_pipe} set x "" lappend x [gets $f1] lappend x [fblocked $f1] puts $f1 {exit} lappend x [gets $f1] lappend x [fblocked $f1] lappend x [eof $f1] close $f1 set x ==== Test generated error: invalid command name "}" ---- Result should have been: hello_from_pipe 0 {} 0 1 ==== io-36.2 FAILED ==== io-48.3 testing readability conditions FAILED ==== Contents of test case: set f [open bar w] puts $f abcdefg puts $f abcdefg puts $f abcdefg puts $f abcdefg puts $f abcdefg close $f set f [open my_script w] puts $f { proc copy_slowly {f} { while {![eof $f]} { puts [gets $f] after 200 } close $f } } close $f set f [open "|[list $::tcltest::tcltest]" r+] fileevent $f readable [list consume $f] fconfigure $f -buffering line fconfigure $f -blocking off proc consume {f} { global x l if {[eof $f]} { set x done } else { gets $f lappend l [fblocked $f] gets $f lappend l [fblocked $f] } } set l "" set x not_done puts $f {source my_script} puts $f {set f [open bar r]} puts $f {copy_slowly $f} puts $f {exit} vwait x close $f list $x $l ==== Test generated error: invalid command name "}" ---- Result should have been: done {0 1 0 1 0 1 0 1 0 1 0 1 0 0} ==== io-48.3 FAILED Tests ended at Wed Sep 29 09:34:52 EDT 1999 all.tcl: Total 8726 Passed 7939 Skipped 772 Failed 15 Sourced 119 Test Files. Files with failing tests: event.test exec.test io.test Number of tests skipped for each constraint: 15 95 16 doTestsWithRemoteServer 48 emptyTest 2 hasIsoLocale 8 installedTcl 27 knownBug 122 macOnly 154 nonPortable 16 nt 331 pcOnly 27 testthread 1 umask2 5 xdev DesiredBehavior: test suite complete successfully This occurs on the users system only, and must be due to some random false element in transmition or on the users system. -- 09/30/1999 hobbs - foundin initialized to: "obsolete: 8.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to:
make test fails horridly with the latest version of tcl from
- type initialized to: "Bug"
Ticket change [968be21c3f] (rid 106344) by welch on 2000-10-26 08:17:56:
- closedate changed to: "2000-10-26T01:17:56"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"