Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ce86fb9777229cab04e1a2c4f0c114dcb9cbebd2505243c911609c2cb4583c6c
Ticket: 7f2928e3a90a7c2da1c18cb391cb04a08fe5fef0
Test Failure - macOSXFCmd-2.7 + macOSXFCmd-4.1 - On MacOS
User & Date: hypnotoad on 2017-11-07 17:40:17
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] on MacOS High Sierra using Xcode command line tools and running "make test" produces the following failed tests:
    
    
    ==== macOSXFCmd-2.7 MacOSXSetFileAttribute - rsrclength FAILED
    ==== Contents of test case:
    
        catch {file delete -force -- foo.test}
        close [open foo.test w]
        catch {
    	set f [open foo.test/..namedfork/rsrc w]
    	fconfigure $f -translation lf -eofchar {}
    	puts -nonewline $f "foo"
    	close $f
        }
        list [catch {file attributes foo.test -rsrclength} msg] $msg  [catch {file attributes foo.test -rsrclength 0} msg] $msg  [catch {file attributes foo.test -rsrclength} msg] $msg  [file delete -force -- foo.test]
    
    ---- Result was:
    0 3 0 {} 0 3 {}
    ---- Result should have been (exact matching):
    0 3 0 {} 0 0 {}
    ==== macOSXFCmd-2.7 FAILED
    
    
    
    ==== macOSXFCmd-4.1 TclMacOSXMatchType FAILED
    ==== Contents of test case:
    
        file mkdir globtest
        cd globtest
        foreach f {bar baz foo inv inw .nv reg} {
    	catch {file delete -force -- $f.test}
    	close [open $f.test w]
        }
        catch {file delete -force -- dir.test}
        file mkdir dir.test
        catch {
    	file attributes bar.test -type FOOT
    	file attributes baz.test -creator FOOC -type FOOT
    	file attributes foo.test -creator FOOC
    	file attributes inv.test -hidden 1
    	file attributes inw.test -hidden 1 -type FOOT
    	file attributes dir.test -hidden 1
        }
        set res [list  [catch {glob *.test} msg] $msg  [catch {glob -types FOOT *.test} msg] $msg  [catch {glob -types {{macintosh type FOOT}} *.test} msg] $msg  [catch {glob -types FOOTT *.test} msg] $msg  [catch {glob -types {{macintosh type FOOTT}} *.test} msg] $msg  [catch {glob -types {{macintosh type {}}} *.test} msg] $msg  [catch {glob -types {{macintosh creator FOOC}} *.test} msg] $msg  [catch {glob -types {{macintosh creator FOOC} {macintosh type FOOT}} *.test} msg] $msg  [catch {glob -types hidden *.test} msg] $msg  [catch {glob -types {hidden FOOT} *.test} msg] $msg  ]
        cd ..
        file delete -force globtest
        set res
    
    ---- Result was:
    0 {foo.test bar.test reg.test baz.test dir.test inv.test inw.test} 0 {bar.test baz.test inw.test} 0 {bar.test baz.test inw.test} 1 {bad argument to "-types": FOOTT} 1 {expected Macintosh OS type but got "FOOTT": } 0 {foo.test reg.test inv.test} 0 {foo.test baz.test} 0 baz.test 0 {.nv.test dir.test inv.test inw.test} 0 inw.test
    ---- Result should have been (exact matching):
    0 {bar.test baz.test dir.test foo.test inv.test inw.test reg.test} 0 {bar.test baz.test inw.test} 0 {bar.test baz.test inw.test} 1 {bad argument to "-types": FOOTT} 1 {expected Macintosh OS type but got "FOOTT": } 0 {foo.test inv.test reg.test} 0 {baz.test foo.test} 0 baz.test 0 {.nv.test dir.test inv.test inw.test} 0 inw.test
    ==== macOSXFCmd-4.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 - macOSXFCmd-2.7 + macOSXFCmd-4.1 - On MacOS
    
  16. type changed to: "Bug"