Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2006-03-21
22:33 • Ticket [1409272fff] ::env names forced to uppercase? status still Closed wit... artifact: 1d0cad1b53 user: dgp
22:33 • Closed ticket [1409272fff]. artifact: f9df1214bc user: dgp
22:33 • Add attachment 1409272.patch to ticket [1409272fff] artifact: 4da2fac98b user: dgp
2006-03-10
13:27 • Ticket [1409272fff] ::env names forced to uppercase? status still Open with ... artifact: ccb61c9d47 user: dgp
2006-01-19
01:38 • Ticket [1409272fff]: 5 changes artifact: 301ed62ebc user: dgp
01:34 • Ticket [1409272fff]: 4 changes artifact: 5ea1e7be9f user: dgp
2006-01-18
18:32 • New ticket [1409272fff]. artifact: 2fa67c29fc user: dgp

::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: