Artifacts Associated With Ticket 1528500
Ticket change [caa4c14f34] (rid 95392) by andygoth on 2006-07-25 16:53:00:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
outputChannel mishandles the channel name passed to it. It only behaves as documented for stdout and stderr. If the channel name is anything else, it opens a file of that same name. This breaks any channel opened from within the program, including reflected channels, socket channels, and channels already connected to files.
- foundin initialized to: "obsolete: 8.5a4"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "andygoth"
- subsystem initialized to: "34. tcltest Package"
- title initialized to: "outputChannel incompatible with reflected channels"
- type initialized to: "Bug"
Ticket change [637ed3f888] (rid 92591) by dgp on 2006-07-26 00:01:14:
- icomment:
Logged In: YES user_id=80530 Same debugging session had trouble with the [exit] buried deep in [cleanupTests].
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [121a31e20f] (rid 95256) by andygoth on 2008-12-11 08:16:48:
- icomment:
Is anyone maintaining tcltest?
- login: "andygoth"
- mimetype: "text/plain"
- username: "andygoth"
- icomment:
Ticket change [dcb824da10] (rid 114534) by dgp on 2008-12-11 11:28:29:
- icomment:
Fair question, but also an unkind week to pose it. This one's basically a documentation bug, right? Can you suggest any language that would clarify things better?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [3278644fea] (rid 93618) by andygoth on 2008-12-11 11:42:28:
- icomment:
Please pardon me if my timing is bad; I have no idea what is special about this week. I'm only asking this question now because I happened to be mucking with sourceforge for other reasons. I'm not actually using tcltest for anything at the moment, and it's been a long time since I've needed it. Lately my testing has been of an interactive nature, so automated testing isn't useful to me just now. I don't think it's a documentation bug, although it can be "fixed" by changing the documentation to explain outputChannel's surprising DWIM-style behavior. I'd prefer that outputChannel be modified to always treat the channel name as a Tcl channel, rather than sometimes treating it as a filename. While we're on the subject of surprising DWIM-style behavior, the [exit] inside [cleanupTests] should probably be examined too.
- login: "andygoth"
- mimetype: "text/plain"
- username: "andygoth"
- icomment:
Ticket change [0e8ec14067] (rid 94638) by dkf on 2008-12-11 16:04:05:
- icomment:
We're trying to finalize features for 8.5b1, which we want out before Christmas. And we're trying to find time to decorate and buy presents too. I guess Tcl 8.6b1 isn't quite enough for most families. :-)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [5d962b7446] (rid 115492) by ferrieux on 2008-12-11 16:25:26:
- icomment:
If you offer them 8.5b1 I can understand some disappointment ;-)
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [8939bdc032] (rid 259480) by serhiy.storchaka on 2026-10-20 14:34:06:
- foundin changed to: "8.6.18, 9.0.5, 9.1.0"
- icomment:
Still the case on main, 9.0 and 8.6: <code>outputChannel</code> and <code>errorChannel</code> open any name except stdout/stderr as a file, so with a reflected channel the output goes to a new file "rc0" in the current directory. Proposed fix in branch [ca00499284|tcltest-output-open-channel]: a name in <code>[chan names]</code> is used as the channel (tcltest does not close it); other names are still file names, which <code>-outfile</code>/<code>-errfile</code> rely on. New test tcltest-6.7.1.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
Ticket change [ba0b43e2a5] (rid 259546) by dgp on 2026-10-20 18:22:01:
- closer changed to: "nobody"
- comment changed to:
outputChannel mishandles the channel name passed to it. It only behaves as documented for stdout and stderr. If the channel name is anything else, it opens a file of that same name. This breaks any channel opened from within the program, including reflected channels, socket channels, and channels already connected to files.
- icomment: "will have a look"
- login: "dgp"
- mimetype: "text/plain"
- severity changed to: "Minor"
Ticket change [8841c69c53] (rid 259840) by jan.nijtmans on 2026-10-22 08:28:40:
- icomment:
Fixed in [891b7e7921|trunk]. Not backported yet to 9.0 and 8.6 Don, if you have any remarks, feel free to follow-up!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Pending"
- icomment:
Ticket change [cfb9c58993] (rid 260740) by jan.nijtmans on 2026-10-28 13:44:57:
- closedate changed to: "2461342.072884514"
- closer changed to: "jan.nijtmans"
- icomment:
Now also backported to core-9-0-branch and core-8-6-branch Closing. Many thanks!
- login: "jan.nijtmans"
- mimetype: "text/plain"
- status changed to: "Closed"