Artifacts Associated With Ticket 218669
Ticket change [15dd9cef49] (rid 124637) by nobody on 2000-10-26 01:03:56:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1678 Bug Version: 8.0.5 SubmitDate: '1999-03-31' LastModified: '1999-03-31' Severity: SER Status: Released Submitter: pat ChangedBy: pat OS: Linux OSVersion: upgraded version of Slackware Machine: Other FixedDate: '1999-04-19' FixedInVersion: 8.1b3 ClosedDate: '2000-10-25' Name: pete CustomShell: No modifications to the core. ReproducibleScript: cd tcl8.0.5/unix make test /* after compiling the package of course */ ObservedBehavior: failure of test: ==== fCmd-6.30 CopyRenameOneFile: TclpRemoveDirectory failed --- (unixOnly) - and of test: ==== unixFCmd-1.7 TclpRenameFile: EXDEV DesiredBehavior: i was kind of hoping they'd pass. Patch: *** fCmd.test.old Wed Mar 31 11:17:41 1999 --- fCmd.test.new Wed Mar 31 11:26:05 1999 *************** *** 584,590 **** file mkdir foo/bar file attr foo -perm 040555 set msg [list [catch {file rename foo/bar /tmp} msg] $msg] ! set a1 {1 {can't unlink "foo/bar": permission denied}} set result [expr {$msg == $a1}] catch {file delete /tmp/bar} catch {file attr foo -perm 040777} --- 584,590 ---- file mkdir foo/bar file attr foo -perm 040555 set msg [list [catch {file rename foo/bar /tmp} msg] $msg] ! set a1 {1 {error renaming "foo/bar" to "/tmp/bar": permission denied}} set result [expr {$msg == $a1}] catch {file delete /tmp/bar} catch {file attr foo -perm 040777} *** unixFCmd.test.old Wed Mar 31 11:19:11 1999 --- unixFCmd.test.new Wed Mar 31 11:27:41 1999 *************** *** 84,90 **** file mkdir foo/bar file attr foo -perm 040555 set msg [list [catch {file rename foo/bar /tmp} msg] $msg] ! set a1 {1 {can't unlink "foo/bar": permission denied}} set result [expr {$msg == $a1}] catch {file delete /tmp/bar} catch {file attr foo -perm 040777} catch {file attr foo -perm 040777} --- 84,90 ---- file mkdir foo/bar file attr foo -perm 040555 set msg [list [catch {file rename foo/bar /tmp} msg] $msg] ! set a1 {1 {error renaming "foo/bar" to "/tmp/bar": permission denied}} set result [expr {$msg == $a1}] catch {file delete /tmp/bar} catch {file attr foo -perm 040777} PatchFiles: fCmd.test unixFCmd.test Comments: This didn't seem to fall precisly into any of the catagories of your rankings. I couldn't install and use the tcl8.05 package until it passed all the tests in "make test". My guess is that the output for the exception generated by these two test may have changed. I hope my changes to the two *.test files did not mask a true problem in my compilation. The relevant c code that may be the source of the exception text could be in file generic/tclFCmd.c in the function "CopyRenameOneFile". These tests were failing because error messages were different on different platforms. I fixed this behavior in Tcl/Tk8.1b3 by searching for "permission denied" in the error message. Since this is already fixed in 8.1, I'm not going to apply the patch toward 8.0. -hershey - foundin initialized to: "final: 8.0.5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "61. (unused)"
- title initialized to:
error messages differ accross platforms causing fCmd tests t
- type initialized to: "Bug"
Ticket change [bdfabaa4ba] (rid 101996) by welch on 2000-10-26 08:26:11:
- closedate changed to: "2000-10-26T01:26:11"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [0d765e8f91] (rid 114365) by dgp on 2001-04-05 08:22:16:
- closedate changed to: "2001-04-05T01:22:16"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"