Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 29414

Show
Ignore:
Timestamp:
2007-09-23 02:40:13 (14 months ago)
Author:
eridius@…
Message:

Hack around Darwin's fts_open returning double-slashed paths for roots that end in a slash. Note that this hack is for the test only, fs-traverse will still return the double-slashed paths (#12173).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/base/src/pextlib1.0/tests/fs-traverse.tcl

    r25003 r29414  
    3737        set output [list] 
    3838        fs-traverse file $root/a/c/a/ { 
    39             lappend output $file 
     39            lappend output [string map {// /} $file] 
    4040        } 
    4141        check_output $output $trees(sub2) 
     
    238238    set trees(sub2) " 
    239239        $root/a/c/a/     {link ../d} 
    240         $root/a/c/a//a   file 
    241         $root/a/c/a//b   {link ../../b/a} 
    242         $root/a/c/a//c   directory 
    243         $root/a/c/a//d   file 
     240        $root/a/c/a/a   file 
     241        $root/a/c/a/b   {link ../../b/a} 
     242        $root/a/c/a/c   directory 
     243        $root/a/c/a/d   file 
    244244    " 
    245245