summaryrefslogtreecommitdiffstats
path: root/tests/scale.test
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-04-14 08:34:28 (GMT)
committerhobbs <hobbs>2000-04-14 08:34:28 (GMT)
commiteadd91e0acd18a46a5897e280289e1782a634f4a (patch)
tree2e31114835e4da766ec9343ca0e5bed064543699 /tests/scale.test
parent06be2a3705c35643345819a384ce97cb90627a3a (diff)
downloadtk-eadd91e0acd18a46a5897e280289e1782a634f4a.zip
tk-eadd91e0acd18a46a5897e280289e1782a634f4a.tar.gz
tk-eadd91e0acd18a46a5897e280289e1782a634f4a.tar.bz2
* tests/winDialog.test: tk_chooseDirectory seems to get a noop
from GetOpenFileName in the static build, hanging some tests. The tests were fixed to timeout (noop cause unknown). * tests/scale.test: correct 17.1 WRT bug 4833
Diffstat (limited to 'tests/scale.test')
-rw-r--r--tests/scale.test8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/scale.test b/tests/scale.test
index 8db85ac..c68bf01 100644
--- a/tests/scale.test
+++ b/tests/scale.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: scale.test,v 1.9 1999/12/21 23:55:55 hobbs Exp $
+# RCS: @(#) $Id: scale.test,v 1.10 2000/04/14 08:34:28 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -807,8 +807,12 @@ test scale-17.1 {bug fix 1786} {
pack .s
update
.s configure -variable x ;# CRASH! -> Floating point exception
+
+ # Bug 4833 changed the result to realize that x should pick up
+ # a value from the scale. In an FPE occurs, it is due to the
+ # lack of errno being set to 0 by some libc's. (see bug 4942)
set x
-} {}
+} {100}
test scale-18.1 {DestroyScale, -cursor option [Bug: 3897]} {
catch {destroy .s}