summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/winDialog.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/winDialog.test b/tests/winDialog.test
index c9e06a3..d3cb2a0 100644
--- a/tests/winDialog.test
+++ b/tests/winDialog.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# Copyright (c) 1998-1999 ActiveState Corporation.
#
-# RCS: @(#) $Id: winDialog.test,v 1.19 2008/10/06 22:09:16 patthoyts Exp $
+# RCS: @(#) $Id: winDialog.test,v 1.20 2008/10/07 18:27:01 dgp Exp $
package require tcltest 2.2
namespace import ::tcltest::*
@@ -255,6 +255,7 @@ test winDialog-5.10 {GetFileName: file types: MakeFilter() fails} -constraints {
tk_getSaveFile -filetypes {{"foo" .foo FOO}}
} -returnCodes error -result {bad Macintosh file type "FOO"}
+if {[info exists ::env(TEMP)]} {
test winDialog-5.11 {GetFileName: initial directory} -constraints {
nt testwinevent
} -body {
@@ -268,6 +269,7 @@ test winDialog-5.11 {GetFileName: initial directory} -constraints {
}
return $x
} -result [file join [file normalize $::env(TEMP)] "12x 455"]
+}
test winDialog-5.12 {GetFileName: initial directory: Tcl_TranslateFilename()} -constraints {
nt
} -body {