Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-07-31
10:29 • Closed ticket [999612ffff]: safe-2.* : bogus tests plus 8 other changes artifact: e0d4a51829 user: dgp
2004-07-29
00:40 • Ticket [999612ffff]: 4 changes artifact: c7aa27c6a8 user: dgp
00:37 • Ticket [999612ffff]: 4 changes artifact: 37e545efa3 user: kennykb
2004-07-28
17:28 • New ticket [999612ffff]. artifact: 8f3913b9ec user: dgp

safe-2.* : bogus tests

Closed / Fixed999612ffffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-07-28 17:28:21
It's not clear to me what the tests
safe-2.* are trying to test.

It is clear that as written, they
raise failures whenever an
interp makes use of aliases.

[interp alias {} foo {} bar] has
proven to be very useful, and
I don't see a good reason for
Tcl's test suite to prevent
Tcl itself from using this
facility.
kennykbplain2004-07-29 00:37:42
Logged In: YES 
user_id=99768

If we, instead, interpret these tests to mean,
"test that a newborn interp has exactly the aliases
that it's supposed to have, no more and no less,"
they're valid tests for today's Tcl, which installs
no aliases by default.  They could, of course, be
upgraded if we started to use aliases within Tcl
itself.
dgpplain2004-07-29 00:40:54
Logged In: YES 
user_id=80530

ok, with that interpretation,
only test safe-2.1 is bogus.
dgpplain2004-07-31 10:29:21
Logged In: YES 
user_id=80530

safe-2.1 disabled on the HEAD.
Log in (anonymous is fine) to add a comment.