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 | 661ddefe7ef457f8fbe3a16f4d4b8618a8b5c714 (patch) | |
tree | 238a0401068faa4958631b1c94f11ca64684079f /tests | |
parent | 187c36aaddddaeb8deb89f30056a02b5f76bbba6 (diff) | |
download | tk-661ddefe7ef457f8fbe3a16f4d4b8618a8b5c714.zip tk-661ddefe7ef457f8fbe3a16f4d4b8618a8b5c714.tar.gz tk-661ddefe7ef457f8fbe3a16f4d4b8618a8b5c714.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.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 ~ \ |