summaryrefslogtreecommitdiffstats
path: root/tests/safe.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/safe.test')
-rw-r--r--tests/safe.test6
1 files changed, 5 insertions, 1 deletions
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