Overview
| Artifact ID: | 3a081c8fa99a7507c358f363fc7285bb72265ebc |
|---|---|
| Ticket: | 883143ffffffffffffffffffffffffffffffffff
fCmd-28.12: broken test |
| User & Date: | dgp on 2004-01-26 23:09:35 |
Changes
- icomment:
Logged In: YES user_id=80530 Now the test runs, but fails: ==== fCmd-28.12 file link: cd into a link FAILED ==== Contents of test case: cd [temporaryDirectory] file delete -force abc.link file link abc.link abc.dir set orig [pwd] cd abc.link set dir [pwd] cd .. set up [pwd] cd $orig # now '$up' should be either $orig or [file dirname abc.dir], # depending on whether 'cd' actually moves to the destination # of a link, or simply treats the link as a directory. # (on windows the former, on unix the latter, I believe) if {([file normalize $up] != [file normalize $orig]) && ([file normalize $up] != [file normalize [file dirname abc.dir]])} { set res "wrong directory with 'cd abc.link ; cd ..': \"[file normalize $up]\" should be \"[file normalize $orig]\" or \"[file normalize [file dirname abc.dir]]\"" } else { set res "ok" } cd [workingDirectory] set res ---- Result was: wrong directory with 'cd abc.link ; cd ..': "/local/src/tcl/solaris/abc.dir" should be "/local/src/tcl/solaris" or "/local/src/tcl/solaris" ---- Result should have been (exact matching): ok ==== fCmd-28.12 FAILED - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"