summaryrefslogtreecommitdiffstats
path: root/tests/platform.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-01-29 14:22:31 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-01-29 14:22:31 (GMT)
commitd8d1e6bbf527a1eb861879704f7779b5ac36781a (patch)
tree506264f185f1facf6e0737d9a1bb4a9a3716798c /tests/platform.test
parenta1db6470b525c61a75fc26133b821ca98d6c66df (diff)
parent2f90de6166e0253955f4e7ce895ddb63c0d4f05d (diff)
downloadtcl-d8d1e6bbf527a1eb861879704f7779b5ac36781a.zip
tcl-d8d1e6bbf527a1eb861879704f7779b5ac36781a.tar.gz
tcl-d8d1e6bbf527a1eb861879704f7779b5ac36781a.tar.bz2
merge trunk
Diffstat (limited to 'tests/platform.test')
-rw-r--r--tests/platform.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/platform.test b/tests/platform.test
index cc00d49..c826444 100644
--- a/tests/platform.test
+++ b/tests/platform.test
@@ -23,6 +23,10 @@ catch [list package require -exact Tcltest [info patchlevel]]
testConstraint testCPUID [llength [info commands testcpuid]]
+test platform-1.0 {tcl_platform(engine)} {
+ set tcl_platform(engine)
+} {Tcl}
+
test platform-1.1 {TclpSetVariables: tcl_platform} {
interp create i
i eval {catch {unset tcl_platform(debug)}}
@@ -30,7 +34,7 @@ test platform-1.1 {TclpSetVariables: tcl_platform} {
set result [i eval {lsort [array names tcl_platform]}]
interp delete i
set result
-} {byteOrder machine os osVersion pathSeparator platform pointerSize user wordSize}
+} {byteOrder engine machine os osVersion pathSeparator platform pointerSize user wordSize}
# Test assumes twos-complement arithmetic, which is true of virtually
# everything these days. Note that this does *not* use wide(), and