summaryrefslogtreecommitdiffstats
path: root/tests/safe.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-12-29 13:13:17 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-12-29 13:13:17 (GMT)
commit2e2f8ffea1f149bfc599286750b0bd64a88c4fc2 (patch)
tree91433bca2e8f90eb8c420ae39a1d45d8d3eac575 /tests/safe.test
parent54e26f47d31eb8ad41fdecae2ec6859a3d7c71cc (diff)
downloadtcl-2e2f8ffea1f149bfc599286750b0bd64a88c4fc2.zip
tcl-2e2f8ffea1f149bfc599286750b0bd64a88c4fc2.tar.gz
tcl-2e2f8ffea1f149bfc599286750b0bd64a88c4fc2.tar.bz2
[Bug 2895741]: Make min() and max() supported in safe interpreters.
Diffstat (limited to 'tests/safe.test')
-rw-r--r--tests/safe.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/safe.test b/tests/safe.test
index ed92aba..e4e3596 100644
--- a/tests/safe.test
+++ b/tests/safe.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: safe.test,v 1.22.4.5 2009/12/28 13:48:51 dkf Exp $
+# RCS: @(#) $Id: safe.test,v 1.22.4.6 2009/12/29 13:13:18 dkf Exp $
package require Tcl 8.5
@@ -72,8 +72,8 @@ test safe-2.3 {creating safe interpreters, should have no unexpected aliases} {
interp create a -safe
set l [a aliases]
interp delete a
- set l
-} {clock}
+ lsort $l
+} {::tcl::mathfunc::max ::tcl::mathfunc::min clock}
test safe-3.1 {calling safe::interpInit is safe} {
catch {safe::interpDelete a}