summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/window.test4
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.