Artifacts Associated With Ticket 438070ffffffffff
Ticket change [b94eb87bd5] (rid 129117) by dgp on 2001-07-02 23:15:43:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
On RedHat Linux 6.2, on Alpha XL-300. Since the 2001-06-28 commits to tests/unixInit.test: ==== unixInit-1.2 initialisation: channel type deduction FAILED ==== Contents of test case: set pipe1 [open |[list $::tcltest::tcltest] r+] puts $pipe1 { proc accept {channel host port} { puts $channel { puts [fconfigure stdin -peername] flush stdout exit } flush $channel close $channel exit } set server [socket -server accept 0] puts stdout [fconfigure $server -sockname] flush stdout update vwait forever } flush $pipe1 set port [lindex [gets $pipe1] 2] set sock [socket localhost $port] set pipe2 [open |[list $::tcltest::tcltest <@$sock] r] set result [gets $pipe2] close $pipe2 close $pipe1 catch {close $sock} set expected [list 127.0.0.1 localhost $port] if {[string equal $expected $result]} { subst "OK" } else { subst "Expected: $expected, Got $result" } ---- Result was: error flushing "stdout": broken pipe ---- Result should have been (exact matching): OK ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ==== unixInit-1.2 FAILED The error comes from the [close $pipe2] command. After I comment out the [flush stdout] that seems to be the cause of the trouble: ==== unixInit-1.2 initialisation: channel type deduction FAILED ==== Contents of test case: ... ---- Result was: Expected: 127.0.0.1 localhost 2949, Got 127.0.0.1 localhost.localdomain 2949 ---- Result should have been (exact matching): OK ==== unixInit-1.2 FAILED - foundin initialized to: "obsolete: 8.4a3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "38. Init - Library - Autoload"
- title initialized to: "unixInit-1.2 failure"
- type initialized to: "Bug"
Ticket change [1a0f027e91] (rid 122912) by dkf on 2001-07-03 17:51:03:
- closedate changed to: "2001-07-03T10:51:03"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 I believe I've fixed this; let me know/reopen this bug if not.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"