From 5098d93a5364fb60487e91ae9fd4fd809c016a4a Mon Sep 17 00:00:00 2001 From: dgp Date: Mon, 6 Dec 2004 22:41:09 +0000 Subject: * tests/safe.test: Trim auto_path to improve performance [1080039] --- ChangeLog | 4 ++++ changes | 7 +++---- tests/safe.test | 6 +++++- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 593f81f..f1b4fe2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-12-06 Don Porter + + * tests/safe.test: Trim auto_path to improve performance [1080039] + 2004-12-04 Don Porter * generic/tclEncoding.c: Different fix for [Bug 1077005]. diff --git a/changes b/changes index b0f45fe..9c4c28f 100644 --- a/changes +++ b/changes @@ -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 -- cgit v0.12