summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2015-12-14 10:32:33 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2015-12-14 10:32:33 (GMT)
commit63f1bed7bb0c9cdd0a7171121ae98f5c8c33224e (patch)
tree238a0401068faa4958631b1c94f11ca64684079f /tests
parent3f1055f6005a1124d104b5c8c94e3f83e3604723 (diff)
downloadtk-63f1bed7bb0c9cdd0a7171121ae98f5c8c33224e.zip
tk-63f1bed7bb0c9cdd0a7171121ae98f5c8c33224e.tar.gz
tk-63f1bed7bb0c9cdd0a7171121ae98f5c8c33224e.tar.bz2
Test winDialog-5.12.7 failed if first item in home folder was not a file->corrected
Diffstat (limited to 'tests')
-rwxr-xr-x[-rw-r--r--]tests/winDialog.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/winDialog.test b/tests/winDialog.test
index 24441cf..c8c36bf 100644..100755
--- a/tests/winDialog.test
+++ b/tests/winDialog.test
@@ -594,7 +594,7 @@ test winDialog-5.12.6 {tk_getSaveFile: initial directory: relative} -constraints
test winDialog-5.12.7 {tk_getOpenFile: initial directory: ~} -constraints {
nt testwinevent
} -body {
- set fn [file tail [lindex [glob ~/*] 0]]
+ set fn [file tail [lindex [glob -types f ~/*] 0]]
unset -nocomplain x
start {set x [tk_getOpenFile \
-initialdir ~ \