1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
+
-
+
+
+
+
|
# 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 {[lsearch [namespace children] ::test] == -1} {
if {[info procs test] != "test"} {source defs}
source [file join [pwd] [file dirname [info script]] defs.tcl]
}
test platform-1.1 {TclpSetVariables: tcl_platform} {
lsort [array names tcl_platform]
} {byteOrder machine os osVersion platform user}
# cleanup
::test::cleanupTests
return
|