Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8f6e5e211f05837b344ef05c8da02af3e19131b8d8b3b01569fe95a0e20e1e68
Ticket: e7d30944759acd7532bcddf1c672fabc639dc847
Test Failure - io-60.1 - On MSYS builds of core-8-branch
User & Date: hypnotoad on 2017-11-07 17:27:40
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 the following failed test:
    
    ==== 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]
        puts $out {
    	puts [testbytestring \xe2]
    	exit 1
        }
        proc readit {pipe} {
    	variable x
    	variable result
    	if {[eof $pipe]} {
    	    set x [catch {close $pipe} line]
    	    lappend result catch $line
    	} else {
    	    gets $pipe line
    	    lappend result gets $line
    	}
        }
        close $out
        set pipe [open "|[list [interpreter] $path(script)]" r]
        fileevent $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}}
    ==== io-60.1 FAILED
    
  5. foundin changed to: "8.7"
  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: "37. File System"
  15. title changed to:
    Test Failure - io-60.1 -  On MSYS builds of core-8-branch
    
  16. type changed to: "Bug"