summaryrefslogtreecommitdiffstats
path: root/tests/tcltest.test
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2001-08-22 01:29:17 (GMT)
committerhobbs <hobbs@noemail.net>2001-08-22 01:29:17 (GMT)
commit3b082f3487507b39bf9bceed338f1ec65f8b943d (patch)
tree0745c3d11a37886f6fb492ceaa18da6397baf335 /tests/tcltest.test
parent61b0bcbf052afec8e159ca769b93bdbca844e3da (diff)
downloadtcl-3b082f3487507b39bf9bceed338f1ec65f8b943d.zip
tcl-3b082f3487507b39bf9bceed338f1ec65f8b943d.tar.gz
tcl-3b082f3487507b39bf9bceed338f1ec65f8b943d.tar.bz2
* tests/tcltest.test (tcltest-12.2): fixed test that would break
when env vars weren't Tcl list friendly [Patch #454046] (stanton) FossilOrigin-Name: cfda39e13af0b1beb3df0ac6fa77e1057716b517
Diffstat (limited to 'tests/tcltest.test')
-rwxr-xr-xtests/tcltest.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tcltest.test b/tests/tcltest.test
index a65dcec..f1c8485 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.14 2001/05/22 00:52:13 hobbs Exp $
+# RCS: @(#) $Id: tcltest.test,v 1.15 2001/08/22 01:29:18 hobbs Exp $
set tcltestVersion [package require tcltest]
namespace import -force ::tcltest::*
@@ -733,8 +733,8 @@ test tcltest-12.1 {-load xxx} {unixOrPc} {
test tcltest-12.2 {-loadfile load.tcl} {unixOrPc} {
catch {exec $::tcltest::tcltest load.tcl -debug 2 -loadfile load.tcl} msg
list \
- [regexp {tcltest} [join $msg [split $msg \n]]] \
- [regexp {loadScript} [join $msg [split $msg \n]]]
+ [regexp {tcltest} [join [list $msg] [split $msg \n]]] \
+ [regexp {loadScript} [join [list $msg] [split $msg \n]]]
} {1 1}
test tcltest-12.3 {tcltest::loadScript} {