diff options
author | dgp <dgp@users.sourceforge.net> | 2013-03-11 18:39:23 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-03-11 18:39:23 (GMT) |
commit | 0da67e322c064f41c6ff9be79c11dd73350768cc (patch) | |
tree | 8d99c3d688bd25abab53e0bf56261399255a5e32 /tests | |
parent | 2ead17659538d3181771fbbc11b878b2aefa749c (diff) | |
parent | a5102c9a477e543549b9413f49abb48f4e57ba2f (diff) | |
download | tk-0da67e322c064f41c6ff9be79c11dd73350768cc.zip tk-0da67e322c064f41c6ff9be79c11dd73350768cc.tar.gz tk-0da67e322c064f41c6ff9be79c11dd73350768cc.tar.bz2 |
3607326 Stop segfault from [listbox .l -listvariable $array].
Diffstat (limited to 'tests')
-rw-r--r-- | tests/listbox.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/listbox.test b/tests/listbox.test index 0805528..e05d574 100644 --- a/tests/listbox.test +++ b/tests/listbox.test @@ -3057,6 +3057,17 @@ test listbox-29.1 {listbox selection behavior, -state disabled} -setup { destroy .l } -result {1 1 2} +test listbox-30.1 {Bug 3607326} -setup { + destroy .l + unset -nocomplain a +} -body { + array set a {} + listbox .l -listvariable a +} -cleanup { + destroy .l + unset -nocomplain a +} -result * -match glob -returnCodes error + resetGridInfo deleteWindows option clear |