Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2362c8e9031950d66edc457167d3ae0ab304658c
Ticket: 910323ffffffffffffffffffffffffffffffffff
20 failures with 8.4.6 on MacOS X 10.3, many env related
User & Date: jleffler on 2004-03-05 08:56:19
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Output below shows environment and rsult of running
    'make test'.
    Actually, the tests got run twice, for reasons which
    escape me; when run directly, they ran once.
    
    
    $ Trace make -C tcl$ver/macosx test
    Trace run started: Fri Mar  5 00:39:53 PST 2004
    Command:   make -C tcl8.4.6/macosx test
    Date:      Fri Mar  5 00:39:53 PST 2004
    Machine:   Osiris.local (Darwin 7.2.0)
    User:      
    Directory: /Users/jleffler/open.source
    Umask:     0022
    Terminal:  /dev/ttyp1
    
    Limits (soft:hard):
    core file size        (blocks, -c)          0:unlimited
    cpu time             (seconds, -t)  unlimited:unlimited
    data seg size         (kbytes, -d)       6144:unlimited
    file size             (blocks, -f)  unlimited:unlimited
    max locked memory     (kbytes, -l)  unlimited:unlimited
    max memory size       (kbytes, -m)  unlimited:unlimited
    max user processes            (-u)        100:532
    open files                    (-n)        256:unlimited
    pipe size          (512 bytes, -p)          1:1
    stack size            (kbytes, -s)       8192:65536
    virtual memory        (kbytes, -v)     
    14336:9007199254806527
    
    
    Environment:
    CDPATH=:/Users/jleffler:/Users/jleffler/mail:/Users/jleffler/src:/Users/jleffler/src/perl:/Users/jleffler/src/sqltools:/Users/jleffler/lib:/Users/jleffler/4js:/Users/jleffler/d4gl:/Users/jleffler/doc:/work4
    DBDATE=Y4MD-
    DBEDIT=vim
    EDITOR=vim
    EXINIT=set wm=1 ts=4 sw=4 ai showmode sm
    FCEDIT=vim
    HISTFILE=/Users/jleffler/.ksh.history
    HISTSIZE=512
    HOME=/Users/jleffler
    INFORMIXDIR=/usr/informix
    JOTTER=/Users/jleffler/.jotter
    LOGNAME=jleffler
    MAILCHECK=999999
    MANPATH=/Users/jleffler/man:/usr/local/man:/usr/share/man:/Users/jleffler/perl/v5.8.3/man:/Users/jleffler/python/v2.3.3/man
    PATH=.:/Users/jleffler/bin:/Users/jleffler/perl/v5.8.3/bin:/Users/jleffler/python/v2.3.3/bin:/usr/bin:/bin:/sw/bin:/usr/local/bin:/usr/sbin:/sbin
    PERL5_CPANPLUS_CONFIG=/Users/jleffler/.cpanplus/config
    PWD=/Users/jleffler/open.source
    REAL_HOME=/Users/jleffler
    SECURITYSESSIONID=20e580
    SHELL=/bin/sh
    SHLVL=3
    TERM=xterm-color
    TERM_PROGRAM=Apple_Terminal
    TERM_PROGRAM_VERSION=100
    USER=jleffler
    VISUAL=vim
    _=/usr/bin/env
    __CF_USER_TEXT_ENCODING=0x1F7:0:0
    ver=8.4.6
    ******************************************
    
    make test-tcl \
    BUILD_STYLE=Development CONFIGURE_ARGS=--enable-symbols   
    make -C
    /Users/jleffler/open.source/tcl8.4.6/macosx/../../build/tcl/Development
    tclsh tcltest INSTALL_ROOT=
    TCL_PACKAGE_PATH="~/Library/Tcl /Library/Tcl
    /Network/Library/Tcl /System/Library/Tcl
    ~/Library/Frameworks /Library/Frameworks
    /Network/Library/Frameworks /System/Library/Frameworks"
    TCL_LIBRARY=@TCL_IN_FRAMEWORK@
    DYLIB_INSTALL_DIR=/Library/Frameworks/Tcl.framework/Versions/8.4
     
    Warning: tclStubInit.c may be out of date.
    Developers may want to run "make genstubs" to regenerate.
    This warning can be safely ignored, do not report as a bug!
    make[2]: `tcltest' is up to date.
    cd
    /Users/jleffler/open.source/tcl8.4.6/macosx/../../build/tcl/Development;
    mkdir -p .//Library/ .//usr/
    /Users/jleffler/open.source/tcl8.4.6/macosx/../../build/tcl;
    \
    rm -f .//Library/Frameworks; ln -fs
    /Users/jleffler/open.source/tcl8.4.6/macosx/../../build/tcl
    .//Library/Frameworks; \
    rm -f .//usr/bin; ln -fs
    /Users/jleffler/open.source/tcl8.4.6/macosx/../../build/tcl
    .//usr/bin; \
    ln -fs
    /Users/jleffler/open.source/tcl8.4.6/macosx/../../build/tcl/Development/tcltest
    /Users/jleffler/open.source/tcl8.4.6/macosx/../../build/tcl
    make -C
    /Users/jleffler/open.source/tcl8.4.6/macosx/../../build/tcl/Development
    test 
    Warning: tclStubInit.c may be out of date.
    Developers may want to run "make genstubs" to regenerate.
    This warning can be safely ignored, do not report as a bug!
    DYLD_LIBRARY_PATH=`pwd`:; export DYLD_LIBRARY_PATH; \
    TCL_LIBRARY="/Users/jleffler/open.source/tcl8.4.6/library";
    export TCL_LIBRARY; \
    ./tcltest
    /Users/jleffler/open.source/tcl8.4.6/macosx/../unix/../tests/all.tcl
     
    Tests running in interp: 
    /Users/jleffler/open.source/build/tcl/Development/tcltest
    Tests located in: 
    /Users/jleffler/open.source/tcl8.4.6/tests
    Tests running in: 
    /Users/jleffler/open.source/build/tcl/Development
    Temporary files stored in
    /Users/jleffler/open.source/build/tcl/Development
    Test files run in separate interpreters
    Running tests that match:  *
    Skipping test files that match:  l.*.test
    Only running test files that match:  *.test
    Tests began at Fri Mar 05 00:39:54 PST 2004
    append.test
    appendComp.test
    assocd.test
    async.test
    autoMkindex.test
    basic.test
    binary.test
    case.test
    clock.test
    cmdAH.test
    cmdIL.test
    cmdInfo.test
    cmdMZ.test
    compExpr-old.test
    compExpr.test
    compile.test
    concat.test
    dcall.test
    dstring.test
    encoding.test
    env.test
    
    ==== env-2.1 adding environment variables FAILED
    ==== Contents of test case:
    
        getenv
    
    ---- Result was:
    __CF_USER_TEXT_ENCODING=0x1F7:0:0
    ---- Result should have been (exact matching):
    
    ==== env-2.1 FAILED
    
    
    ==== env-2.2 adding environment variables FAILED
    ==== Contents of test case:
    
        getenv
    
    ---- Result was:
    NAME1=test string
    __CF_USER_TEXT_ENCODING=0x1F7:0:0
    ---- Result should have been (exact matching):
    NAME1=test string
    ==== env-2.2 FAILED
    
    
    ==== env-2.3 adding environment variables FAILED
    ==== Contents of test case:
    
        getenv
    
    ---- Result was:
    NAME1=test string
    NAME2=more
    __CF_USER_TEXT_ENCODING=0x1F7:0:0
    ---- Result should have been (exact matching):
    NAME1=test string
    NAME2=more
    ==== env-2.3 FAILED
    
    
    ==== env-2.4 adding environment variables FAILED
    ==== Contents of test case:
    
        getenv
    
    ---- Result was:
    NAME1=test string
    NAME2=more
    XYZZY=garbage
    __CF_USER_TEXT_ENCODING=0x1F7:0:0
    ---- Result should have been (exact matching):
    NAME1=test string
    NAME2=more
    XYZZY=garbage
    ==== env-2.4 FAILED
    
    
    ==== env-3.1 changing environment variables FAILED
    ==== Contents of test case:
    
        set result [getenv]
        unset env(NAME2)
        set result
    
    ---- Result was:
    NAME1=test string
    NAME2=new value
    XYZZY=garbage
    __CF_USER_TEXT_ENCODING=0x1F7:0:0
    ---- Result should have been (exact matching):
    NAME1=test string
    NAME2=new value
    XYZZY=garbage
    ==== env-3.1 FAILED
    
    
    ==== env-4.1 unsetting environment variables FAILED
    ==== Contents of test case:
    
        set result [getenv]
        unset env(NAME1)
        set result
    
    ---- Result was:
    NAME1=test string
    XYZZY=garbage
    __CF_USER_TEXT_ENCODING=0x1F7:0:0
    ---- Result should have been (exact matching):
    NAME1=test string
    XYZZY=garbage
    ==== env-4.1 FAILED
    
    
    ==== env-4.2 unsetting environment variables FAILED
    ==== Contents of test case:
    
        set result [getenv]
        unset env(XYZZY)
        set result
    
    ---- Result was:
    XYZZY=garbage
    __CF_USER_TEXT_ENCODING=0x1F7:0:0
    ---- Result should have been (exact matching):
    XYZZY=garbage
    ==== env-4.2 FAILED
    
    
    ==== env-4.3 setting international environment
    variables FAILED
    ==== Contents of test case:
    
        set env(\ua7) \ub6
        getenv
    
    ---- Result was:
    __CF_USER_TEXT_ENCODING=0x1F7:0:0
    §=¶
    ---- Result should have been (exact matching):
    §=¶
    ==== env-4.3 FAILED
    
    
    ==== env-4.4 changing international environment
    variables FAILED
    ==== Contents of test case:
    
        set env(\ua7) \ua7
        getenv
    
    ---- Result was:
    __CF_USER_TEXT_ENCODING=0x1F7:0:0
    §=§
    ---- Result should have been (exact matching):
    §=§
    ==== env-4.4 FAILED
    
    
    ==== env-4.5 unsetting international environment
    variables FAILED
    ==== Contents of test case:
    
        set env(\ub6) \ua7
        unset env(\ua7)
        set result [getenv]
        unset env(\ub6)
        set result
    
    ---- Result was:
    __CF_USER_TEXT_ENCODING=0x1F7:0:0
    ¶=§
    ---- Result should have been (exact matching):
    ¶=§
    ==== env-4.5 FAILED
    
    error.test
    eval.test
    event.test
    exec.test
    execute.test
    expr-old.test
    expr.test
    fCmd.test
    fileName.test
    fileSystem.test
    
    ==== filesystem-1.2 link normalisation FAILED
    ==== Contents of test case:
    
       string equal [file normalize [file join gorp.file
    foo]]  [file normalize [file join link.file foo]]
    
    ---- Result was:
    0
    ---- Result should have been (exact matching):
    1
    ==== filesystem-1.2 FAILED
    
    
    ==== filesystem-1.3 link normalisation FAILED
    ==== Contents of test case:
    
       string equal [file normalize [file join dir.file
    foo]]  [file normalize [file join dir.link foo]]
    
    ---- Result was:
    0
    ---- Result should have been (exact matching):
    1
    ==== filesystem-1.3 FAILED
    
    
    ==== filesystem-1.4 link normalisation FAILED
    ==== Contents of test case:
    
       string equal [file normalize [file join dir.file
    inside.file]]  [file normalize [file join dir.link
    inside.file]]
    
    ---- Result was:
    0
    ---- Result should have been (exact matching):
    1
    ==== filesystem-1.4 FAILED
    
    
    ==== filesystem-1.7 link normalisation FAILED
    ==== Contents of test case:
    
       string equal [file normalize [file join dir.link
    linkinside.file foo]]  [file normalize [file join
    dir.file inside.file foo]]
    
    ---- Result was:
    0
    ---- Result should have been (exact matching):
    1
    ==== filesystem-1.7 FAILED
    
    
    ==== filesystem-1.9 link normalisation FAILED
    ==== Contents of test case:
    
        file delete -force dir.link
        file link dir.link [file nativename dir.file]
        string equal [file normalize [file join dir.file
    linkinside.file foo]]  [file normalize [file join
    dir.link inside.file foo]]
    
    ---- Result was:
    0
    ---- Result should have been (exact matching):
    1
    ==== filesystem-1.9 FAILED
    
    
    ==== filesystem-1.10 link normalisation: double link FAILED
    ==== Contents of test case:
    
        file link dir2.link dir.link
        string equal [file normalize [file join dir.file
    linkinside.file foo]]  [file normalize [file join
    dir2.link inside.file foo]]
    
    ---- Result was:
    0
    ---- Result should have been (exact matching):
    1
    ==== filesystem-1.10 FAILED
    
    
    ==== filesystem-1.11 link normalisation: double link,
    back in tree FAILED
    ==== Contents of test case:
    
        file link [file join dir2.file dir2.link] dir2.link
        string equal [file normalize [file join dir.file
    linkinside.file foo]]  [file normalize [file join
    dir2.file dir2.link inside.file foo]]
    
    ---- Result was:
    0
    ---- Result should have been (exact matching):
    1
    ==== filesystem-1.11 FAILED
    
    for-old.test
    for.test
    foreach.test
    format.test
    get.test
    history.test
    http.test
    Running httpd in thread 25177088
    httpold.test
    if-old.test
    if.test
    incr-old.test
    incr.test
    indexObj.test
    info.test
    init.test
    :       Total   24      Passed  24      Skipped 0     
     Failed  0
    interp.test
    io.test
    ioCmd.test
    ioUtil.test
    iogt.test
    join.test
    lindex.test
    link.test
    linsert.test
    list.test
    listObj.test
    llength.test
    load.test
    
    ==== load-2.3 loading with no _Init procedure FAILED
    ==== Contents of test case:
    
        list [catch {load [file join $testDir pkgc$ext]
    foo} msg] $msg
    
    ---- Result was:
    1 {dyld:
    /Users/jleffler/open.source/build/tcl/Development/tcltest
    NSLookupSymbolInImage() dynamic library:
    /Users/jleffler/open.source/build/tcl/Development/dltest/pkgc.dylib
    does not define symbol: _Foo_Init
    dyld:
    /Users/jleffler/open.source/build/tcl/Development/tcltest
    NSLookupSymbolInImage() dynamic library:
    /Users/jleffler/open.source/build/tcl/Development/dltest/pkgc.dylib
    does not define symbol: _Foo_SafeInit
    couldn't find procedure Foo_Init}
    ---- Result should have been (exact matching):
    1 {couldn't find procedure Foo_Init}
    ==== load-2.3 FAILED
    
    lrange.test
    lreplace.test
    lsearch.test
    lset.test
    lsetComp.test
    macFCmd.test
    main.test
    misc.test
    msgcat.test
    namespace-old.test
    namespace.test
    notify.test
    obj.test
    opt.test
    osa.test
    package.test
    parse.test
    parseExpr.test
    parseOld.test
    pid.test
    pkg.test
    pkgMkIndex.test
    platform.test
    proc-old.test
    proc.test
    pwd.test
    reg.test
    regexp.test
    regexpComp.test
    registry.test
    rename.test
    resource.test
    result.test
    safe.test
    scan.test
    security.test
    set-old.test
    set.test
    socket.test
    source.test
    split.test
    stack.test
    string.test
    stringComp.test
    stringObj.test
    subst.test
    switch.test
    tcltest.test
    thread.test
    timer.test
    trace.test
    unixFCmd.test
    unixFile.test
    unixInit.test
    
    ==== unixInit-2.8 TclpInitLibraryPath: all absolute
    pathtype FAILED
    ==== Contents of test case:
    
        # Checking for Bug 219416
        # When a program that embeds the Tcl library, like
    tcltest, is
        # installed near the "root" of the file system,
    there was a problem
        # constructing directories relative to the
    executable.  When a 
        # relative ".." went past the root, relative path
    names were created
        # rather than absolute pathnames.  In some cases,
    accessing past the
        # root caused memory access violations too.
        #
        # The bug is now fixed, but here we check for it by
    making sure that
        # the directories constructed relative to the
    executable are all
        # absolute pathnames, even when the executable is
    installed near
        # the root of the filesystem.
        #
        # The only directory near the root we are likely to
    have write access
        # to is /tmp.
        file delete -force /tmp/sparkly
        file delete -force /tmp/lib/tcl[info tclversion]
        file mkdir /tmp/sparkly
        file copy [interpreter] /tmp/sparkly/tcltest
    
        # Keep any existing /tmp/lib directory
        set deletelib 1
        if {[file exists /tmp/lib]} {
            if {[file isdirectory /tmp/lib]} {
                set deletelib 0
            } else {
                file delete -force /tmp/lib
            }
        }
    
        # For a successful Tcl_Init, we need a
    [source]-able init.tcl in
        # ../lib/tcl$version relative to the executable.
        file mkdir /tmp/lib/tcl[info tclversion]
        close [open /tmp/lib/tcl[info tclversion]/init.tcl w]
    
        # Check that all directories in the library path
    are absolute pathnames
        set allAbsolute 1
        foreach dir [getlibpath /tmp/sparkly/tcltest] {
            set allAbsolute [expr {$allAbsolute  && [string
    equal absolute [file pathtype $dir]]}]
        }
    
        # Clean up temporary installation
        file delete -force /tmp/sparkly
        file delete -force /tmp/lib/tcl[info tclversion]
        if {$deletelib} {file delete -force /tmp/lib}
        set allAbsolute
    
    ---- Result was:
    0
    ---- Result should have been (exact matching):
    1
    ==== unixInit-2.8 FAILED
    
    
    ==== unixInit-3.1 TclpSetInitialEncodings FAILED
    ==== Contents of test case:
    
        set env(LANG) C
    
        set f [open "|[list [interpreter]]" w+]
        fconfigure $f -buffering none
        puts $f {puts [encoding system]; exit}
        set enc [gets $f]
        close $f
        unset env(LANG)
    
        set enc
    
    ---- Result was:
    utf-8
    ---- Result should have been (regexp matching):
    ^iso8859-15?$
    ==== unixInit-3.1 FAILED
    
    unixNotfy.test
    unknown.test
    uplevel.test
    upvar.test
    utf.test
    util.test
    var.test
    while-old.test
    while.test
    winConsole.test
    winDde.test
    winFCmd.test
    winFile.test
    winNotify.test
    winPipe.test
    winTime.test
    
    Tests ended at Fri Mar 05 00:43:34 PST 2004
    all.tcl:        Total   10602   Passed  9727    Skipped
    855     Failed  20
    Sourced 129 Test Files.
    Files with failing tests: env.test fileSystem.test
    load.test unixInit.test
    Number of tests skipped for each constraint:
            4       dontCopyLinks
            47      emptyTest
            2       hasIsoLocale
            21      knownBug
            1       largefileSupport
            25      localeRegexp
            126     macOnly
            1       macOrWin
            2       memDebug
            142     nonPortable
            3       nonRoot
            411     pcOnly
            1       singleTestInterp
            1       testwinclock
            21      testwordend
            1       umask2
            2       unixOnly && !testthread
            3       unknownFailure
            22      wideIntegerUnparsed
            1       win
            13      winOnly
            5       xdev
    
    
  4. foundin changed to: "obsolete: 8.4.6"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "jleffler"
  9. subsystem changed to: "08. Environment Variables"
  10. title changed to:
    20 failures with 8.4.6 on MacOS X 10.3, many env related
    
  11. type changed to: "Bug"