diff options
author | oehhar <harald.oehlmann@elmicron.de> | 2015-12-14 10:32:33 (GMT) |
---|---|---|
committer | oehhar <harald.oehlmann@elmicron.de> | 2015-12-14 10:32:33 (GMT) |
commit | 63f1bed7bb0c9cdd0a7171121ae98f5c8c33224e (patch) | |
tree | 238a0401068faa4958631b1c94f11ca64684079f | |
parent | 3f1055f6005a1124d104b5c8c94e3f83e3604723 (diff) | |
download | tk-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
-rwxr-xr-x[-rw-r--r--] | tests/winDialog.test | 2 |
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 ~ \ |