Tcl Source Code

View Ticket
Login
Ticket UUID: 1409272
Title: ::env names forced to uppercase?
Type: Bug Version: obsolete: 8.5a4
Submitter: dgp Created on: 2006-01-18 18:32:23
Subsystem: 08. Environment Variables Assigned To: dgp
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2006-03-21 22:33:50
Resolution: Fixed Closed By: dgp
    Closed on: 2006-03-21 15:33:44
Description:
$ 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.
User Comments: dgp added on 2006-03-21 22:33:50:

File Added - 171717: 1409272.patch

dgp added on 2006-03-21 22:33:44:
Logged In: YES 
user_id=80530


committing attached patch.

dgp added on 2006-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 added on 2006-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.

Attachments: