Skip to content
Tcl Source Code View Ticket
Login

View Ticket

::env names forced to uppercase?

Closed / Fixed1409272fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2006-01-18 18:32:23
$ make test TESTFLAGS="-file env.test -debug 1
-singleproc 1"
...
env.test
env array elements created:     DTSTART_SESSIONLOGFILE
env array elements removed:     dtstart_sessionlogfile

Something in the env.test tests
is uppercasing all the indices
of the ::env array.

Don't see this in 8.4.12, only on HEAD.
dgpplain2006-01-19 01:34:04
Logged In: YES 
user_id=80530


Add the -skip env* options
and the result is the same, so
the problem is outside of any
particular test.
dgpplain2006-01-19 01:38:16
Logged In: YES 
user_id=80530


This is due to patthoyts
adding a [string toupper]
in the save ::env as ::env2
machinery in env.test.

It's a mystery to me why
this is being done at all.
The tcltest package already
saves and restores ::env
for every *.test file.  There's
really no need for env.test to
be doing it (incorrectly) on
its own.
dgp Ticket [1409272fff]: 1 change [History diff]2006-03-10 13:27:54
dgpplain2006-03-21 22:33:44
Logged In: YES 
user_id=80530


committing attached patch.
dgpplain2006-03-21 22:33:50
File Added - 171717: 1409272.patch
Log in (anonymous is fine) to add a comment.

Attachments: