Artifacts Associated With Ticket 676978ffffffffff
Ticket change [949da95ff6] (rid 106025) by dgp on 2003-01-29 19:36:45:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The [errorChannel] and [outputChannel] commands [open] files, but never [close] them. This can cause [cleanupTests] to be unable to clean up files that are still held open.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "34. tcltest Package"
- title initialized to: "-errfile and -outfile left open"
- type initialized to: "Bug"
Ticket change [d8f83b8f96] (rid 107531) by dgp on 2003-02-01 01:30:45:
- assignee changed to: "kennykb"
- icomment:
File Added - 41179: 676978.patch Logged In: YES user_id=80530 really two separate bugs here. First files are [open]'d but not [close]d. Second, the files opened to be used as -outfile or -errfile really should be treated differently from files that just happen to be created as side effects of tests. In particular, it's unlikely that you want [cleanupTests] to remove the files that hold all output or error log information from running the test suite. Here's a patch that attempts to improve things a bit. I doubt it's completely right, because the interfaces here are just so badly designed it may be near impossible to make them work sensibly. Please give this a try.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [9dcdec2798] (rid 96374) by kennykb on 2003-02-01 03:56:34:
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=99768 No errors observed on Win2k with the patch applied. No complaints about an 'ofile' or 'efile' left around.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
Add attachment "676978.patch" [324c7e1a62] (rid 93590) by dgp on 2003-02-06 23:20:05.
Ticket change [85d437d125] (rid 131389) by dgp on 2003-02-06 23:20:05:
- icomment:
File Deleted - 41179: File Added - 41678: 676978.patch Logged In: YES user_id=80530 Here's an improved patch that should be more robust.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [237defc637] (rid 130947) by dgp on 2003-02-06 23:35:30:
- closedate changed to: "2003-02-06T16:35:30"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 committed. Now at version 2.2.2
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"