Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2006-03-17
02:12 • Closed ticket [681793ffff]: io-43*: move cat into setup plus 7 other... artifact: b40554c90a user: andreas_kupries
02:11 • Ticket [681793ffff]: 4 changes artifact: dfce46c847 user: andreas_kupries
02:11 • Add attachment 85.iotest.udiff to ticket [681793ffff] artifact: 75d09e2c3a user: andreas_kupries
02:10 • Add attachment 84.iotest.udiff to ticket [681793ffff] artifact: d7a90b1d49 user: andreas_kupries
02:10 • Ticket [681793ffff] io-43*: move cat into setup status still Open wi... artifact: 8e00567db5 user: andreas_kupries
00:35 • Ticket [681793ffff]: 4 changes artifact: 8b26994afc user: andreas_kupries
00:23 • Ticket [681793ffff]: 4 changes artifact: c0c7e5f51d user: dgp
00:19 • Ticket [681793ffff]: 4 changes artifact: 85a5cc48d6 user: andreas_kupries
2003-11-13
07:51 • Ticket [681793ffff]: 1 change artifact: 34f7dc1210 user: dgp
2003-02-06
17:22 • New ticket [681793ffff]. artifact: 4b532c3b7b user: dgp

io-43*: move [open |cat] into setup

Closed / Fixed681793ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 21 years ago
Descriptionplain2003-02-06 17:22:02
Pipelines to "cat" are [open]ed to prepare
for tests io-43.*  The tests are properly
constrained with unixExecs, but it would
be better to move the [open] into -setup
scripts so the [open] is only attempted
on the constrained systems.

minor detail, but I noticed it so thought
I'd log it while I saw it.
dgp Ticket [681793ffff]: 1 change [History diff]2003-11-13 07:51:26
andreas_kupriesplain2006-03-17 00:19:43
Logged In: YES 
user_id=75003

The only test using the |cat seems to be io-43.2 (8.4
branch, and HEAD as well).

Interesting. The test uses channels f2, f3, and their setup
happens before io-43.1, in regular Tcl code. This code is
constrained by 'openpipe', whereas the test is constrained
by {stdio, unixExecs, fileevent}. The test is not
constrained with "openpipe", but I guess that it should be.

I did not see the close for the channels, not near 43.* ...
Ah, the tests 44.[1234] also use these channels, and the
close happens after non-user 44.5. These tests are also not
constrained by "openpipe".

So, the exact request is to replicate the open| code in all
the tests using the channels, as listed above, as well as
the close| statements, and to constrain the tests with an
additional "openpipe", right ?
dgpplain2006-03-17 00:23:12
Logged In: YES 
user_id=80530

sorry, it's been 3 years;
I don't remember.

Make whatever changes make
sense to you, and close when
you're satisfied.
andreas_kupriesplain2006-03-17 00:35:28
Logged In: YES 
user_id=75003

:P

Ok. I will use the modern option based syntax of tests for
these test. Because of the better separation of setup and
finalization from actual test body.
andreas_kupriesplain2006-03-17 02:10:57
File Added - 171172: 84.iotest.udiff
andreas_kupriesplain2006-03-17 02:11:22
File Added - 171173: 85.iotest.udiff
andreas_kupriesplain2006-03-17 02:12:50
Logged In: YES 
user_id=75003

Committed the attached files to HEAD and 8.4 branch head, resp.
Log in (anonymous is fine) to add a comment.

Attachments: