summaryrefslogtreecommitdiffstats
path: root/tests/platform.test
diff options
context:
space:
mode:
authorwelch <welch>1999-03-11 06:16:37 (GMT)
committerwelch <welch>1999-03-11 06:16:37 (GMT)
commit4a327a6afdf45b23c8606d5f3d5a51b2b7876384 (patch)
treec00d629d8705ea776694d51d23e1e1f5088eb8a9 /tests/platform.test
parentb78a73949a64a7dabbedb9b59bcf54e5610c311c (diff)
downloadtcl-4a327a6afdf45b23c8606d5f3d5a51b2b7876384.zip
tcl-4a327a6afdf45b23c8606d5f3d5a51b2b7876384.tar.gz
tcl-4a327a6afdf45b23c8606d5f3d5a51b2b7876384.tar.bz2
Added tcl_platform
Diffstat (limited to 'tests/platform.test')
-rw-r--r--tests/platform.test20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/platform.test b/tests/platform.test
new file mode 100644
index 0000000..e3c78ef
--- /dev/null
+++ b/tests/platform.test
@@ -0,0 +1,20 @@
+# The file tests the tcl_platform variable
+#
+# This file contains a collection of tests for one or more of the Tcl
+# built-in commands. Sourcing this file into Tcl runs the tests and
+# generates output for errors. No output means no errors were found.
+#
+# Copyright (c) 1999 by Scriptics Corporation
+#
+# See the file "license.terms" for information on usage and redistribution
+# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
+#
+# RCS: @(#)
+
+if {[info procs test] != "test"} {source defs}
+
+test platform-1.1 {TclpSetVariables: tcl_platform} {
+ lsort [array names tcl_platform]
+} {byteOrder machine os osVersion platform user}
+
+return