Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 33629afbc8d8cec0ebac0c3e50c2c484566fdd53
Ticket: 438014ffffffffffffffffffffffffffffffffff
unixInit-2.8 failure
User & Date: dgp on 2001-07-02 19:43:46
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Ever since the 2001-06-18 commit to test/unixInit.test,
    I've seen failures of test unixInit-2.8 when testing
    from the development directory:
    
    ==== unixInit-2.8 TclpInitLibraryPath: all absolute
    pathtype FAILED
    ==== Contents of test case:
    
        file delete -force /tmp/sparkly
        file delete -force /tmp/library
        file mkdir /tmp/sparkly
        file copy $::tcltest::tcltest /tmp/sparkly/tcltest
    
        file mkdir /tmp/library/tcl[info tclversion]
        close [open /tmp/library/tcl[info
    tclversion]/init.tcl w]
    
        set allAbsolute 1
        foreach dir [getlibpath /tmp/sparkly/tcltest] {
            set allAbsolute [expr {$allAbsolute  && [string
    equal absolute [file pathtype $dir]]}]
        }
        file delete -force /tmp/sparkly
        file delete -force /tmp/library
        set allAbsolute
    
    ---- Result was:
    Path = /tmp/sparkly/tcltest
    application-specific initialization failed: Can't find
    a usable init.tcl in the following directories: 
        /usr/local/lib/tcl8.4 /tmp/lib/tcl8.4 /lib/tcl8.4
    /lib/tcl8.4/library /library /tcl8.4a3/library
    /usr/local/lib/tcl8.4
    
    
    
    This probably means that Tcl wasn't installed properly.
    
    ---- Result should have been (exact matching):
    1
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ==== unixInit-2.8 FAILED
    
    
  4. foundin changed to: "obsolete: 8.4a3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "38. Init - Library - Autoload"
  10. title changed to: "unixInit-2.8 failure"
  11. type changed to: "Bug"