summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--tests/safe.test6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c1acccb..f790333 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-10 Pat Thoyts <patthoyts@users.sourceforge.net>
+
+ * tests/safe.test: Update for 'unload' as a safe command (tcl 8.5b3+)
+
2007-12-09 Donal K. Fellows <dkf@users.sf.net>
* win/configure.in: Adjusted code so that running configure does not
diff --git a/tests/safe.test b/tests/safe.test
index bbfd095..1ec813b 100644
--- a/tests/safe.test
+++ b/tests/safe.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: safe.test,v 1.16 2006/10/17 10:21:50 patthoyts Exp $
+# RCS: @(#) $Id: safe.test,v 1.17 2007/12/10 11:40:19 patthoyts Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -35,9 +35,9 @@ tcltest::loadTestedCommands
# The set of hidden commands is platform dependent:
if {[string equal $tcl_platform(platform) "windows"]} {
- set hidden_cmds {bell cd clipboard encoding exec exit fconfigure file glob grab load menu open pwd selection socket source tk_chooseColor tk_chooseDirectory tk_getOpenFile tk_getSaveFile tk_messageBox toplevel wm}
+ set hidden_cmds {bell cd clipboard encoding exec exit fconfigure file glob grab load menu open pwd selection socket source tk_chooseColor tk_chooseDirectory tk_getOpenFile tk_getSaveFile tk_messageBox toplevel unload wm}
} else {
- set hidden_cmds {bell cd clipboard encoding exec exit fconfigure file glob grab load menu open pwd selection send socket source toplevel wm}
+ set hidden_cmds {bell cd clipboard encoding exec exit fconfigure file glob grab load menu open pwd selection send socket source toplevel unload wm}
}
set saveAutoPath $::auto_path