summaryrefslogtreecommitdiffstats
path: root/tests/unixInit.test
diff options
context:
space:
mode:
authorjenn <jenn>1999-07-01 17:36:17 (GMT)
committerjenn <jenn>1999-07-01 17:36:17 (GMT)
commitcbc160d0d87b1efa3096c590343d0553633cb9cc (patch)
tree91c7ea1303cdb2c610ed9fab04bb7259d35d0953 /tests/unixInit.test
parent4b2545f82897102c47126bae5016cc3ad08f0cc1 (diff)
downloadtcl-cbc160d0d87b1efa3096c590343d0553633cb9cc.zip
tcl-cbc160d0d87b1efa3096c590343d0553633cb9cc.tar.gz
tcl-cbc160d0d87b1efa3096c590343d0553633cb9cc.tar.bz2
Changed the tests to use the testConstraints array that the
test harness uses instead of the old name (testConfig).
Diffstat (limited to 'tests/unixInit.test')
-rw-r--r--tests/unixInit.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test
index 2fc1939..3c20204 100644
--- a/tests/unixInit.test
+++ b/tests/unixInit.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: unixInit.test,v 1.7 1999/06/26 20:55:16 rjohnson Exp $
+# RCS: @(#) $Id: unixInit.test,v 1.8 1999/07/01 17:36:20 jenn Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -28,9 +28,9 @@ if {[catch {
exec kill -PIPE [pid $f]
close $f
}]} {
- set ::tcltest::testConfig(installedTcl) 0
+ set ::tcltest::testConstraints(installedTcl) 0
} else {
- set ::tcltest::testConfig(installedTcl) 1
+ set ::tcltest::testConstraints(installedTcl) 1
}
test unixInit-1.1 {TclpInitPlatform: ignore SIGPIPE} {unixOnly installedTcl} {
set x {}
@@ -66,7 +66,7 @@ proc getlibpath "{program [list $::tcltest::tcltest]}" {
# Some tests require the testgetdefenc command
-set ::tcltest::testConfig(testgetdefenc) \
+set ::tcltest::testConstraints(testgetdefenc) \
[expr {[info commands testgetdefenc] != {}}]
test unixInit-2.0 {TclpInitLibraryPath: setting tclDefaultEncodingDir} \