Overview
| Artifact ID: | 72a9a9939fe443eca689693643c0b658d93230e9 |
|---|---|
| Ticket: | 1569064fffffffffffffffffffffffffffffffff
different ~ expansions in [file] causes fCmd 6.26 to fail |
| User & Date: | wliao on 2006-10-02 05:27:05 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
The fCmd-6.26 test uses [file dirname ~] and [file tail ~] to construct the test message. This acts like [file normalize] in expanding the ~ and any symbolic links. However, the error message from [file copy] behaves like [file nativename]: the ~ is expanded, but it doesn't seem to follow the symbolic links. The test on a machine with symbolic links in ~ will fail like this ---- Result was: 1 {error copying "~/td1" to "td1": "/home/wl/td1/td2": permission denied} ---- Result should have been (exact matching): 1 {error copying "~/td1" to "td1": "/d1/home/wl/td1/td2": permission denied} The error message of [file copy] can be changed, which is probably a bad idea, or a minor change be made to the test by wrapping the ~ with [file natiename]: tests$ diff fCmd.test fCmd.test.orig 584c584 < } "1 {error copying \"~/td1\" to \"td1\": \"[file join [file dirname [file nativename ~]] [file tail [file nativename ~]] td1 td2]\": permission denied}" --- > } "1 {error copying \"~/td1\" to \"td1\": \"[file join [file dirname ~] [file tail ~] td1 td2]\": permission denied}" - foundin changed to: "obsolete: 8.5a4"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "wliao"
- subsystem changed to: "34. tcltest Package"
- title changed to:
different ~ expansions in [file] causes fCmd 6.26 to fail
- type changed to: "Bug"