diff options
author | fvogel <fvogelnew1@free.fr> | 2016-04-04 18:01:17 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-04-04 18:01:17 (GMT) |
commit | 178f09ee754d6c182457f11aa4b85b96e872f127 (patch) | |
tree | f488502bf2d14b2e02f3ec5ffae06b7e04c43295 /tests | |
parent | 9f7f483211dbdf87338b70ec05942fbd7cca8b0f (diff) | |
parent | c5eb851f8387eb5fc52c3ab493c72f3e3d3f5f45 (diff) | |
download | tk-178f09ee754d6c182457f11aa4b85b96e872f127.zip tk-178f09ee754d6c182457f11aa4b85b96e872f127.tar.gz tk-178f09ee754d6c182457f11aa4b85b96e872f127.tar.bz2 |
Fixed [3512539fff] - .. is silently accepted in widget paths (user: fvogel, tags: bug-3512539fff
Diffstat (limited to 'tests')
-rw-r--r-- | tests/window.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/window.test b/tests/window.test index fea695a..f02db3e 100644 --- a/tests/window.test +++ b/tests/window.test @@ -39,7 +39,9 @@ test window-1.1 {Tk_CreateWindowFromPath procedure, parent dead} -setup { while executing "button .t.b -text hello" (command bound to event)}} - +test window-1.2 {Tk_CreateWindowFromPath procedure, pathname starting with two dots} -body { + label ..mylabel +} -returnCodes error -result {bad window path name "..mylabel"} # Most of the tests below don't produce meaningful results; they # will simply dump core if there are bugs. |