Skip to content
Tcl Source Code View Ticket
Login

View Ticket

oo-19.1 test fragile

Closed / Fixed2811598fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-06-24 15:15:50
Test body for oo-19.1 contains

 inst eval {trace add variable x write foo}

which suffers from Tcl's "creative writing"
problems.  When the global variable ::x
exists, that is what will be traced, which
is probably not the intent of the test, and
can cause interactions with other tests.

See also test oo-7.6, which (until corrected
today) actually leaves such a ::x lying around
to trigger the problem.
dkfplain2009-06-24 22:30:31
Fixed in HEAD; leaving open for port to extension
dkfplain2009-06-25 16:45:10
allow_comments - 1

backported
Log in (anonymous is fine) to add a comment.