Overview
| Artifact ID: | 787ee59867fbbc98119cac9fcfa25de6575ea21c |
|---|---|
| Ticket: | 883143ffffffffffffffffffffffffffffffffff
fCmd-28.12: broken test |
| User & Date: | dgp on 2004-01-23 17:34:19 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
==== 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 $link ; cd ..'" } else { set res "ok" } cd [workingDirectory] set res ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: can't read "link": no such variable while executing "set res "wrong directory with 'cd $link ; cd ..'"" invoked from within "if {([file normalize $up] != [file normalize $orig]) && ([file normalize $up] != [file normalize [file dirname abc.dir]])} { set res "wrong director..." ("uplevel" body line 15) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== fCmd-28.12 FAILED Note the test tries to read the value of a variable "$link" that does not exist. - foundin changed to: "obsolete: 8.5a0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "37. File System"
- title changed to: "fCmd-28.12: broken test"
- type changed to: "Bug"