summaryrefslogtreecommitdiffstats
path: root/tests/safe.test
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2006-10-17 10:21:48 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2006-10-17 10:21:48 (GMT)
commite58a5fcd90ad9607b9357a1c82417e651ad8ae18 (patch)
treef2e3c2358a8814697991e809019215ff5f2b3659 /tests/safe.test
parentdf7092fbb134cfbb28d68c0deca1a6241df8ca02 (diff)
downloadtk-e58a5fcd90ad9607b9357a1c82417e651ad8ae18.zip
tk-e58a5fcd90ad9607b9357a1c82417e651ad8ae18.tar.gz
tk-e58a5fcd90ad9607b9357a1c82417e651ad8ae18.tar.bz2
generic/tkText.c: Applied suggested patch from #1536735
tests/text.test: Update test for above patch. tests/textWind.test: Corrected test to catch all messages tests/safe.test: Silence spurious win32 failure awaiting TIP150 tests/winDialog.test: Updated test for file name length check. test/winWm.test: Corrected test expectation for menu wrapping.
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 fded018..bbfd095 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.15 2004/12/06 22:54:12 dgp Exp $
+# RCS: @(#) $Id: safe.test,v 1.16 2006/10/17 10:21:50 patthoyts Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -34,8 +34,8 @@ tcltest::loadTestedCommands
# The set of hidden commands is platform dependent:
-if {"$tcl_platform(platform)" == "windows"} {
- set hidden_cmds {bell cd clipboard encoding exec exit fconfigure file glob grab load menu open pwd selection send socket source tk_chooseColor tk_chooseDirectory tk_getOpenFile tk_getSaveFile tk_messageBox toplevel wm}
+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}
} else {
set hidden_cmds {bell cd clipboard encoding exec exit fconfigure file glob grab load menu open pwd selection send socket source toplevel wm}
}