summaryrefslogtreecommitdiffstats
path: root/tests/unixInit.test
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2004-05-25 19:38:12 (GMT)
committerdgp@users.sourceforge.net <dgp>2004-05-25 19:38:12 (GMT)
commit95758c203fe190182f1a1c7e7b5529c764be92c7 (patch)
treeaf753e6ebd2ab001b2977c2c88ac034d75871a6b /tests/unixInit.test
parent5c900cb788bd174fd0353554963fcaee905ee748 (diff)
downloadtcl-95758c203fe190182f1a1c7e7b5529c764be92c7.zip
tcl-95758c203fe190182f1a1c7e7b5529c764be92c7.tar.gz
tcl-95758c203fe190182f1a1c7e7b5529c764be92c7.tar.bz2
* tests/winPipe.test: Protect against path being set
* tests/unixInit.test: Unset path when done. * tests/unload.test (unload-3.1): Verify [pkgb_sub] does not exist. Delete interps when done.
Diffstat (limited to 'tests/unixInit.test')
-rw-r--r--tests/unixInit.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test
index 9caa0bd..4835f58 100644
--- a/tests/unixInit.test
+++ b/tests/unixInit.test
@@ -10,11 +10,11 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: unixInit.test,v 1.36 2004/05/05 21:35:24 dgp Exp $
+# RCS: @(#) $Id: unixInit.test,v 1.37 2004/05/25 19:38:16 dgp Exp $
package require tcltest 2
namespace import -force ::tcltest::*
-catch {unset path}
+unset -nocomplain path
if {[info exists env(TCL_LIBRARY)]} {
set oldlibrary $env(TCL_LIBRARY)
unset env(TCL_LIBRARY)
@@ -381,6 +381,7 @@ if {[info exists oldlibrary]} {
}
catch {unset env(LANG)}
catch {set env(LANG) $oldlang}
+unset -nocomplain path
::tcltest::cleanupTests
return