diff options
author | dgp <dgp@users.sourceforge.net> | 2004-12-06 22:41:09 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-12-06 22:41:09 (GMT) |
commit | 5098d93a5364fb60487e91ae9fd4fd809c016a4a (patch) | |
tree | d30c0040f04848ffdaaf5a4e83f7830b11386d95 | |
parent | 199c1fb12767c9ef58c43b56f33ca3113eb738ab (diff) | |
download | tcl-5098d93a5364fb60487e91ae9fd4fd809c016a4a.zip tcl-5098d93a5364fb60487e91ae9fd4fd809c016a4a.tar.gz tcl-5098d93a5364fb60487e91ae9fd4fd809c016a4a.tar.bz2 |
* tests/safe.test: Trim auto_path to improve performance [1080039]
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | changes | 7 | ||||
-rw-r--r-- | tests/safe.test | 6 |
3 files changed, 12 insertions, 5 deletions
@@ -1,3 +1,7 @@ +2004-12-06 Don Porter <dgp@users.sourceforge.net> + + * tests/safe.test: Trim auto_path to improve performance [1080039] + 2004-12-04 Don Porter <dgp@users.sourceforge.net> * generic/tclEncoding.c: Different fix for [Bug 1077005]. @@ -1,6 +1,6 @@ Recent user-visible changes to Tcl: -RCS: @(#) $Id: changes,v 1.93 2004/12/04 00:57:55 hobbs Exp $ +RCS: @(#) $Id: changes,v 1.94 2004/12/06 22:41:10 dgp Exp $ 1. No more [command1] [command2] construct for grouping multiple commands on a single command line. @@ -6296,9 +6296,6 @@ consistent on Windows with Unix (gravereaux) 2004-11-11 (bug fix)[1034337] recursive file delete, MacOSX (steffen) -2004-11-12 (feature)[TIP 34] make use of a configuration header file (fellows) - *** POTENTIAL INCOMPATIBILITY *** - 2004-11-12 (new feature)[TIP 221] [interp bgerror] (porter) 2004-11-12 (new feature)[TIP 226] Tcl_(Save|Restore|Discard)InterpState @@ -6341,6 +6338,8 @@ search path uniqification added in 8.4.8 (porter) library, encoding search initialization, and Tcl_FindExecutable structure. [tclInit] no longer driven by the value of $::tcl_libPath (TCLLIBPATH). (porter) + *** POTENTIAL INCOMPATIBILITY : makes encoding names case sensitive + on Windows, where they have been case insensitive *** 2004-12-02 (bug fix)[1074671] Ensure tilde paths are not returned specially by 'glob' (darley) diff --git a/tests/safe.test b/tests/safe.test index 985220c..e08586b 100644 --- a/tests/safe.test +++ b/tests/safe.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: safe.test,v 1.17 2004/08/18 19:59:08 kennykb Exp $ +# RCS: @(#) $Id: safe.test,v 1.18 2004/12/06 22:41:10 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -21,6 +21,9 @@ foreach i [interp slaves] { interp delete $i } +set saveAutoPath $::auto_path +set ::auto_path [info library] + # Force actual loading of the safe package # because we use un exported (and thus un-autoindexed) APIs # in this test result arguments: @@ -478,6 +481,7 @@ test safe-11.8 {testing safe encoding} { } {1 {wrong # args: should be "encoding convertto ?encoding? data"} {}} +set ::auto_path $saveAutoPath # cleanup ::tcltest::cleanupTests return |