Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d75206e4adcbd8ba4746bc7c034ceac7a57ae536
Ticket: 0e15cc8367c51ab90f433109313f32b8dbfdb90c
unixFCmd-20.1 and unixInit-3.1 fail in Tcl8.6.7 / FreeBSD 11.1 + gcc5
User & Date: anonymous on 2017-08-17 18:45:14
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    # make test TESTFLAGS="-file unixFCmd.test -verbose bepst"
    
    LD_LIBRARY_PATH=`pwd`:  TCLLIBPATH="/usr/opt/tcl86/src/tcl/unix/pkgs"  TCL_LIBRARY="/usr/opt/tcl86/src/tcl/library" ./tcltest /usr/opt/tcl86/src/tcl/tests/all.tcl -file unixFCmd.test -verbose bepst
    Tests running in interp:  /usr/opt/tcl86/src/tcl/unix/tcltest
    Tests located in:  /usr/opt/tcl86/src/tcl/tests
    Tests running in:  /usr/opt/tcl86/src/tcl/unix
    Temporary files stored in /usr/opt/tcl86/src/tcl/unix
    Test files run in separate interpreters
    Running tests that match:  *
    Skipping test files that match:  l.*.test
    Only running test files that match:  unixFCmd.test
    Tests began at Thu Aug 17 17:45:07 UTC 2017
    unixFCmd.test
    ---- unixFCmd-1.1 start
    ++++ unixFCmd-1.1 PASSED
    ---- unixFCmd-1.2 start
    ++++ unixFCmd-1.2 PASSED
    ---- unixFCmd-1.3 start
    ++++ unixFCmd-1.3 PASSED
    ++++ unixFCmd-1.4 SKIPPED: emptyTest
    ---- unixFCmd-1.5 start
    ++++ unixFCmd-1.5 PASSED
    ++++ unixFCmd-1.6 SKIPPED: emptyTest
    ---- unixFCmd-1.7 start
    ++++ unixFCmd-1.7 PASSED
    ++++ unixFCmd-1.8 SKIPPED: nonPortable
    ++++ unixFCmd-1.9 SKIPPED: nonPortable
    ---- unixFCmd-2.1 start
    ++++ unixFCmd-2.1 PASSED
    ++++ unixFCmd-2.2.1 SKIPPED: dontCopyLinks
    ---- unixFCmd-2.2.2 start
    ++++ unixFCmd-2.2.2 PASSED
    ---- unixFCmd-2.3 start
    ++++ unixFCmd-2.3 PASSED
    ++++ unixFCmd-2.4 SKIPPED: execMknod
    ---- unixFCmd-2.5 start
    ++++ unixFCmd-2.5 PASSED
    ++++ unixFCmd-3.1 SKIPPED: emptyTest
    ++++ unixFCmd-4.1 SKIPPED: emptyTest
    ++++ unixFCmd-5.1 SKIPPED: emptyTest
    ++++ unixFCmd-6.1 SKIPPED: emptyTest
    ++++ unixFCmd-7.1 SKIPPED: emptyTest
    ++++ unixFCmd-8.1 SKIPPED: emptyTest
    ++++ unixFCmd-9.1 SKIPPED: emptyTest
    ++++ unixFCmd-10.1 SKIPPED: emptyTest
    ++++ unixFCmd-11.1 SKIPPED: emptyTest
    ---- unixFCmd-12.1 start
    ++++ unixFCmd-12.1 PASSED
    ---- unixFCmd-12.2 start
    ++++ unixFCmd-12.2 PASSED
    ---- unixFCmd-13.1 start
    ++++ unixFCmd-13.1 PASSED
    ---- unixFCmd-13.2 start
    ++++ unixFCmd-13.2 PASSED
    ---- unixFCmd-14.1 start
    ++++ unixFCmd-14.1 PASSED
    ---- unixFCmd-14.2 start
    ++++ unixFCmd-14.2 PASSED
    ---- unixFCmd-15.1 start
    ++++ unixFCmd-15.1 PASSED
    ---- unixFCmd-15.2 start
    ++++ unixFCmd-15.2 PASSED
    ---- unixFCmd-16.1 start
    ++++ unixFCmd-16.1 PASSED
    ---- unixFCmd-16.2 start
    ++++ unixFCmd-16.2 PASSED
    ---- unixFCmd-16.3 start
    ++++ unixFCmd-16.3 PASSED
    ---- unixFCmd-17.1 start
    ++++ unixFCmd-17.1 PASSED
    ---- unixFCmd-17.2 start
    ++++ unixFCmd-17.2 PASSED
    ---- unixFCmd-17.3 start
    ++++ unixFCmd-17.3 PASSED
    ---- unixFCmd-17.4 start
    ++++ unixFCmd-17.4 PASSED
    ---- unixFCmd-17.5 start
    ++++ unixFCmd-17.5 PASSED
    ---- unixFCmd-17.6 start
    ++++ unixFCmd-17.6 PASSED
    ---- unixFCmd-17.7 start
    ++++ unixFCmd-17.7 PASSED
    ---- unixFCmd-17.11 start
    ++++ unixFCmd-17.11 PASSED
    ---- unixFCmd-17.12 start
    ++++ unixFCmd-17.12 PASSED
    ++++ unixFCmd-18.1 SKIPPED: nonPortable
    ---- unixFCmd-19.1 start
    ++++ unixFCmd-19.1 PASSED
    ---- unixFCmd-19.2 start
    ++++ unixFCmd-19.2 PASSED
    ---- unixFCmd-20.1 start
    
    
    ==== unixFCmd-20.1 SetReadOnlyAttribute FAILED
    ==== Contents of test case:
    
        close [open foo.test w]
        list [catch {file attributes foo.test -readonly 1} msg] $msg  [catch {file attribute foo.test -readonly} msg] $msg  [catch {file delete -force -- foo.test}]  [catch {file attributes foo.test -readonly 0} msg] $msg  [catch {file attribute foo.test -readonly} msg] $msg
    
    ---- Result was:
    1 {could not set flags for file "foo.test": operation not supported} 0 0 0 1 {could not read "foo.test": no such file or directory} 1 {could not read "foo.test": no such file or directory}
    ---- Result should have been (exact matching):
    0 {} 0 1 1 0 {} 0 0
    ==== unixFCmd-20.1 FAILED
    
    ---- unixFCmd-20.2 start
    ++++ unixFCmd-20.2 PASSED
    
    Tests ended at Thu Aug 17 17:45:07 UTC 2017
    all.tcl:	Total	49	Passed	32	Skipped	16	Failed	1
    Sourced 1 Test Files.
    Files with failing tests: unixFCmd.test
    Number of tests skipped for each constraint:
    	1	dontCopyLinks
    	11	emptyTest
    	1	execMknod
    	3	nonPortable
    
    --------------------
    
    # make test TESTFLAGS="-file unixInit.test -verbose bepst" 
    
    LD_LIBRARY_PATH=`pwd`:  TCLLIBPATH="/usr/opt/tcl86/src/tcl/unix/pkgs"  TCL_LIBRARY="/usr/opt/tcl86/src/tcl/library" ./tcltest /usr/opt/tcl86/src/tcl/tests/all.tcl -file unixInit.test -verbose bepst
    Tests running in interp:  /usr/opt/tcl86/src/tcl/unix/tcltest
    Tests located in:  /usr/opt/tcl86/src/tcl/tests
    Tests running in:  /usr/opt/tcl86/src/tcl/unix
    Temporary files stored in /usr/opt/tcl86/src/tcl/unix
    Test files run in separate interpreters
    Running tests that match:  *
    Skipping test files that match:  l.*.test
    Only running test files that match:  unixInit.test
    Tests began at Thu Aug 17 17:45:50 UTC 2017
    unixInit.test
    ---- unixInit-1.1 start
    ++++ unixInit-1.1 PASSED
    ---- unixInit-1.2 start
    ++++ unixInit-1.2 PASSED
    ---- unixInit-3.1 start
    
    
    ==== unixInit-3.1 TclpSetInitialEncodings FAILED
    ==== Contents of test case:
    
        set env(LANG) C
        set f [open "|[list [interpreter]]" w+]
        chan configure $f -buffering none
        puts $f {puts [encoding system]; exit}
        set enc [gets $f]
        close $f
        return $enc
    
    ---- Result was:
    utf-8
    ---- Result should have been (regexp matching):
    ^iso8859-15?$
    ==== unixInit-3.1 FAILED
    
    ---- unixInit-3.2 start
    ++++ unixInit-3.2 PASSED
    ---- unixInit-4.1 start
    ++++ unixInit-4.1 PASSED
    ++++ unixInit-5.1 SKIPPED: emptyTest
    ++++ unixInit-6.1 SKIPPED: emptyTest
    ---- unixInit-7.1 start
    ++++ unixInit-7.1 PASSED
    
    Tests ended at Thu Aug 17 17:45:50 UTC 2017
    all.tcl:	Total	19	Passed	5	Skipped	13	Failed	1
    Sourced 1 Test Files.
    Files with failing tests: unixInit.test
    Number of tests skipped for each constraint:
    	2	emptyTest
    
  5. foundin changed to: "Tcl 8.6.7"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "8edfaa7ebab12fca7ea26c7fccf79fa2dcea518b"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "34. tcltest Package"
  15. title changed to:
    unixFCmd-20.1 and unixInit-3.1 fail in Tcl8.6.7 / FreeBSD 11.1 + gcc5
    
  16. type changed to: "Bug"