diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/env.test | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2006-03-23 Don Porter <dgp@users.sourceforge.net> + + * tests/env.test: With case preserved (see 2006-03-21 commit) + be sure to do case-insensitive filtering. [Bug 1457065] + 2006-03-23 Reinhard Max <max@suse.de> * unix/tcl.spec: Cleaned up and completed the spec file. diff --git a/tests/env.test b/tests/env.test index f388f67..fdcb16d 100644 --- a/tests/env.test +++ b/tests/env.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: env.test,v 1.26 2006/03/21 15:32:17 dgp Exp $ +# RCS: @(#) $Id: env.test,v 1.27 2006/03/23 18:58:27 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -62,7 +62,7 @@ test env-1.3 {reflection of env by "array names"} { set printenvScript [makeFile { proc lrem {listname name} { upvar $listname list - set i [lsearch $list $name] + set i [lsearch -nocase $list $name] if {$i >= 0} { set list [lreplace $list $i $i] } |