Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a6b9f227bb8ac8e2e609f4e12af9951aed50bee25cfd8dad07fd0d935a33038a
Ticket: ab951a75035adca5cfdf6f93ab1d68c3ca4f4713
Test Failure - chan-io-60.1 - On MSYS builds of core-8-branch
User & Date: hypnotoad on 2017-11-07 17:03:26
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Building a fresh checkout of [84de05583b0631640bcb0f697345f4743c74da0b] within MSYS on Windows 7 and running "make test" produces a failed test:
    
    ==== chan-io-60.1 writing illegal utf sequences FAILED
    ==== Contents of test case:
    
        # This test will hang in older revisions of the core.
        set out [open $path(script) w]
        chan puts $out {
    	chan puts [testbytestring \xe2]
    	exit 1
        }
        proc readit {pipe} {
    	variable x
    	variable result
    	if {[chan eof $pipe]} {
    	    set x [catch {chan close $pipe} line]
    	    lappend result catch $line
    	} else {
    	    chan gets $pipe line
    	    lappend result gets $line
    	}
        }
        chan close $out
        set pipe [openpipe r $path(script)]
        chan event $pipe readable [namespace code [list readit $pipe]]
        variable x ""
        set result ""
        vwait [namespace which -variable x]
        # cut of the remainder of the error stack, especially the filename
        set result [lreplace $result 3 3 [lindex [split [lindex $result 3] \n] 0]]
        list $x $result
    
    ---- Result was:
    1 {gets {} catch {invalid command name "testbytestring"}}
    ---- Result should have been (exact matching):
    1 {gets {} catch {error writing "stdout": invalid argument}}
    ==== chan-io-60.1 FAILED
    
  5. foundin changed to: "84de05583b0631640bcb0f697345f4743c74da0b"
  6. is_private changed to: "0"
  7. login: "hypnotoad"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "5846a328c39e4967aaeb56d4e03d3e783e2dd1b8"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "hypnotoad"
  14. subsystem changed to: "25. Channel System"
  15. title changed to:
    Test Failure - chan-io-60.1 - On MSYS builds of core-8-branch
    
  16. type changed to: "Bug"