summaryrefslogtreecommitdiffstats
path: root/tests/tcltest.test
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2004-09-11 00:39:47 (GMT)
committerdavygrvy <davygrvy@pobox.com>2004-09-11 00:39:47 (GMT)
commitbd034b72b946dbb16f1c96bd358920f3b4a577d8 (patch)
tree5925019fda8217b0350e7311933f9f1e8759cfc1 /tests/tcltest.test
parent2bf5c9afb7a6d5c46fa6cd07daee643a5cace78e (diff)
downloadtcl-bd034b72b946dbb16f1c96bd358920f3b4a577d8.zip
tcl-bd034b72b946dbb16f1c96bd358920f3b4a577d8.tar.gz
tcl-bd034b72b946dbb16f1c96bd358920f3b4a577d8.tar.bz2
tcltest-12.3-4 needed to have ::tcltest::loadScript set to empty in their -setup
Diffstat (limited to 'tests/tcltest.test')
-rwxr-xr-xtests/tcltest.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tcltest.test b/tests/tcltest.test
index 9d0aa82..6e2ba7b 100755
--- a/tests/tcltest.test
+++ b/tests/tcltest.test
@@ -6,7 +6,7 @@
# Copyright (c) 2000 by Ajuba Solutions
# All rights reserved.
#
-# RCS: @(#) $Id: tcltest.test,v 1.44 2004/06/23 15:36:58 dkf Exp $
+# RCS: @(#) $Id: tcltest.test,v 1.45 2004/09/11 00:39:47 davygrvy Exp $
# Note that there are several places where the value of
# tcltest::currentFailure is stored/reset in the -setup/-cleanup
@@ -822,6 +822,7 @@ test tcltest-12.2 {-loadfile load.tcl} {unixOrPc} {
test tcltest-12.3 {loadScript} {
-setup {
set old $::tcltest::loadScript
+ set ::tcltest::loadScript {}
}
-body {
set f1 [loadScript]
@@ -838,6 +839,7 @@ test tcltest-12.3 {loadScript} {
test tcltest-12.4 {loadFile} {
-setup {
set olds $::tcltest::loadScript
+ set ::tcltest::loadScript {}
set oldf $::tcltest::loadFile
set ::tcltest::loadFile {}
}