Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 46d60563b7df27e1b730ada5f04311c1b7d9b80c
Ticket: 1002884fffffffffffffffffffffffffffffffff
Test fCmd-28.16 file link glob failure
User & Date: techentin on 2004-08-03 20:40:21
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    On Fedora core 2 Linux with Tcl 8.4.7, I get a test
    failure for fCmd-28.16.
    
    ==== fCmd-28.16 file link: glob inside link FAILED
    ==== Contents of test case:
     
        cd [temporaryDirectory]
        file delete -force abc.link
        file link abc.link abc.dir
        set res [glob -dir abc.link -tails *]
        cd [workingDirectory]
        set res
     
    ---- Result was:
    abc2.file abc.file
    ---- Result should have been (exact matching):
    abc.file abc2.file
    ==== fCmd-28.16 FAILED
     
    
    
    
    I suspect that, since glob order isn't guaranteed, we
    just need to lsort the return value to make the test
    consistent.
    
    *** fCmd.test~  Thu Oct  9 21:08:50 2003
    --- fCmd.test   Tue Aug  3 15:38:30 2004
    ***************
    *** 2364,2370 ****
          cd [temporaryDirectory]
          file delete -force abc.link
          file link abc.link abc.dir
    !     set res [glob -dir abc.link -tails *]
          cd [workingDirectory]
          set res
      } {abc.file abc2.file}
    --- 2364,2370 ----
          cd [temporaryDirectory]
          file delete -force abc.link
          file link abc.link abc.dir
    !     set res [lsort [glob -dir abc.link -tails *]]
          cd [workingDirectory]
          set res
      } {abc.file abc2.file}
    
    
    
    
  4. foundin changed to: "obsolete: 8.4.7"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "techentin"
  9. subsystem changed to: "37. File System"
  10. title changed to: "Test fCmd-28.16 file link glob failure"
  11. type changed to: "Bug"