Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 33276f67edf07d01d2738dbfbf7986507c50821f
Ticket: 703264ffffffffffffffffffffffffffffffffff
cmdAH-8.43, 8.45 fail spuriously when /home is symlink
User & Date: nobody on 2003-03-13 22:24:18
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    On my machine, /home is a symlink to /work2 -- a
    possibility that the tests cmdAH-8.43 and cmdAH-8.45
    does not consider.  The results I see reported as
    erroneous are in fact correct:
    
    
    ==== cmdAH-8.43 Tcl_FileObjCmd: dirname FAILED
    ==== Contents of test case:
    
        global env
        set temp $env(HOME)
        set env(HOME) "/home/test"
        testsetplatform unix
        set result [list [catch {file dirname ~} msg] $msg]
        set env(HOME) $temp
        set result
    
    ---- Result was:
    0 /work2
    ---- Result should have been (exact matching):
    0 /home
    ==== cmdAH-8.43 FAILED
    
    
    ==== cmdAH-8.45 Tcl_FileObjCmd: dirname FAILED
    ==== Contents of test case:
    
        global env
        set temp $env(HOME)
        set env(HOME) "/home/test"
        testsetplatform windows
        set result [list [catch {file dirname ~} msg] $msg]
        set env(HOME) $temp
        set result
    
    ---- Result was:
    0 /work2
    ---- Result should have been (exact matching):
    0 /home
    ==== cmdAH-8.45 FAILED
    
    Having reviewed these failures, I am quite confident
    about going ahead and installing the software.
    
    Reported by: Jonathan Leffler <[email protected]>
    <[email protected]>
    
    Test environment is Sun UltraSparc, Solaris 7, GCC
    3.2.1, Tcl 8.4.2, not that any of these are
    particularly important to reproducing this problem. 
    The only key to the reproduction is that /home is a
    symlink to somewhere else.
    
    One day, I'll get my Sourceforge ID reactivated.
    
  4. foundin changed to: "obsolete: 8.4.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to:
    cmdAH-8.43, 8.45 fail spuriously when /home is symlink
    
  11. type changed to: "Bug"