Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cf591b1748f9bae2099669426707e6a440e19843
Ticket: 483468ffffffffffffffffffffffffffffffffff
failure in unixInit.test
User & Date: msofer on 2001-11-19 15:49:29
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    (Assigning to Jeff as I think the error is in since his
    latest commits to unix/tclUnixInit.c)
    
    [mig@mini unix]$ uname -a
    Linux mini 2.2.19-6.2.7 #3 Fri Jul 6 16:56:07 ART 2001
    i686 unknown
    [mig@mini unix]$ ./tcltest ../tests/unixInit.test 
    
    ==== unixInit-3.2 TclpSetInitialEncodings FAILED
    ==== Contents of test case:
    
        set env(LANG) japanese
        catch {set oldlc_all $env(LC_ALL)}
        set env(LC_ALL) japanese
    
        set f [open "|[list $::tcltest::tcltest]" w+]
        fconfigure $f -buffering none
        puts $f {puts [encoding system]; exit}
        set enc [gets $f]
        close $f
        unset env(LANG)
        unset env(LC_ALL)
        catch {set env(LC_ALL) $oldlc_all}
    
        set validEncodings [list euc-jp]
        if {[string match HP-UX $tcl_platform(os)]} {
            # Some older HP-UX systems need us to accept
    this as valid
            # Bug 453883 reports that newer HP-UX systems
    report euc-jp
            # like everybody else.
            lappend validEncodings shiftjis
        }
        expr {[lsearch -exact $validEncodings $enc] < 0}
    
    ---- Result was:
    1
    ---- Result should have been (exact matching):
    0
    ==== unixInit-3.2 FAILED
    
    unixInit.test:  Total   17      Passed  11      Skipped
    5       Failed  1
    Number of tests skipped for each constraint:
            4       emptyTest
            1       notInstalledInTmp
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "msofer"
  9. subsystem changed to: "None"
  10. title changed to: "failure in unixInit.test"
  11. type changed to: "Bug"