Artifacts Associated With Ticket 219342
Ticket change [ad06b50bc3] (rid 101398) by nobody on 2000-10-26 05:11:00:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 5379 Bug Version: 8.3 SubmitDate: '2000-05-05' LastModified: '2000-05-05' Severity: LOW Status: UnAssn Submitter: awb ChangedBy: awb OS: All FixedDate: '2000-10-25' ClosedDate: '2000-10-25' In the case where multiple tests are run from an all.tcl, calling "tcltest::cleanupTests 0" from an individual test file will result in any temporary directories being deleted, but "tcltest::filesMade" still indicates that the directories exist. For example, if test "A" create a temporary directory called "a", and test "B" tries also to create a temporary directory called "a", the creation will fail in test "B" because tcltest assumes that the file already exists. Work around is to have each test file prepend its name to any directories it creates.
- foundin initialized to: "obsolete: 8.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "34. tcltest Package"
- title initialized to:
Inconsistent tlctest state with respect to temp directories
- type initialized to: "Bug"
Ticket change [af9ca5307a] (rid 97845) by dkf on 2001-09-20 17:52:02:
- assignee changed to: "melissachawla"
Ticket change [030954e143] (rid 119750) by hobbs on 2002-03-23 06:06:31:
- assignee changed to: "dgp"
Ticket change [b09c095eb1] (rid 98013) by dgp on 2002-03-25 02:54:52:
- icomment:
Logged In: YES user_id=80530 Well, I'll agree that this feature of tcltest is a mess, but I don't see how it can fail in the manner described in this report. The commands [makeFile] and [makeDirectory] *always* create the file or directory, and then add their full pathname to the filesMade list. They do not refuse to create files already on the filesMade list. There do appear to be problems with management of the filesMade variable, but none would prevent the creation of temporary directories. In particular, it's not cleared by removeFile or removeDirectory. It's possible this report is just out of date. I will take this report as an excuse to clean up the problems with the filesMade variable, but at a lower priority. If the submitter can clarify anything, please followup.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "3 Low"
- username: "dgp"
- icomment:
Ticket change [566f050db0] (rid 94315) by dgp on 2002-06-06 22:30:09:
- icomment:
Logged In: YES user_id=80530 I note that the filesExist variable is initialized at package load time of tcltest, which is probably not right.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [2b68a73c15] (rid 118737) by dgp on 2002-06-25 21:16:12:
- closedate changed to: "2002-06-25T14:16:12"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 the filesExist variable initialization has been cleaned up. Please test tcltest 2.1 to see if it corrects this problem. If not, please submit an actual test example demonstrating the bug. Setting Status to pending. This report will close unless more info is provided.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- status changed to: "Closed"
- username: "dgp"