From 63f1bed7bb0c9cdd0a7171121ae98f5c8c33224e Mon Sep 17 00:00:00 2001 From: oehhar Date: Mon, 14 Dec 2015 10:32:33 +0000 Subject: Test winDialog-5.12.7 failed if first item in home folder was not a file->corrected --- tests/winDialog.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 tests/winDialog.test diff --git a/tests/winDialog.test b/tests/winDialog.test old mode 100644 new mode 100755 index 24441cf..c8c36bf --- 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 ~ \ -- cgit v0.12