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.