summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-10-04 05:14:42 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-10-04 05:14:42 (GMT)
commit6621e103ec4f54b2e7f3d49235d2913b2692638b (patch)
tree60d6611c51e49911400d2ede5525461c611506e0
parent830684d49c443bd166d974d2cc3f76ffc951d799 (diff)
downloadtk-bug_55b95f578a.zip
tk-bug_55b95f578a.tar.gz
tk-bug_55b95f578a.tar.bz2
Add test for [55b95f578a]: Associating variable with bignum value with scale crashes it (at this point the test produces a crash)bug_55b95f578a
-rw-r--r--tests/scale.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/scale.test b/tests/scale.test
index 8c14ed4..384d117 100644
--- a/tests/scale.test
+++ b/tests/scale.test
@@ -1504,6 +1504,17 @@ test scale-20.8 {Bug [2262543fff] - Scale widget unexpectedly fires command call
destroy .s
} -result {10 10}
+test scale-21 {Bug [55b95f578a] - Associating variable with bignum value with scale crashes it} -setup {
+ catch {destroy .s}
+} -body {
+ pack [scale .s]
+ set foo 5.79e99
+ # non-regression test for bug [55b95f578a] - shall just not crash
+ .s configure -variable foo
+} -cleanup {
+ destroy .s
+} -result {}
+
option clear
# cleanup