summaryrefslogtreecommitdiffstats
path: root/tests/xmfbox.test
diff options
context:
space:
mode:
authorwart <wart>1999-11-12 23:55:16 (GMT)
committerwart <wart>1999-11-12 23:55:16 (GMT)
commit7c3c1aef2385370be1ebfaaa34fa816693b58484 (patch)
tree96a96faf03522c970ff5942365d1970a1ecbab64 /tests/xmfbox.test
parentf26d87ff6dc4002600ced51b9c7bbb66b1d6f8df (diff)
downloadtk-7c3c1aef2385370be1ebfaaa34fa816693b58484.zip
tk-7c3c1aef2385370be1ebfaaa34fa816693b58484.tar.gz
tk-7c3c1aef2385370be1ebfaaa34fa816693b58484.tar.bz2
Added "wm geometry" calls in some tests that were waiting for the user to
place a window manually. The Tk test suite can now run on twm with no user intervention.
Diffstat (limited to 'tests/xmfbox.test')
-rw-r--r--tests/xmfbox.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/xmfbox.test b/tests/xmfbox.test
index c5b6736..29ebf18 100644
--- a/tests/xmfbox.test
+++ b/tests/xmfbox.test
@@ -9,7 +9,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: xmfbox.test,v 1.2 1999/04/16 01:51:44 stanton Exp $
+# RCS: @(#) $Id: xmfbox.test,v 1.3 1999/11/12 23:55:16 wart Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -69,6 +69,7 @@ test xmfbox-1.1 {tkMotifFDialog_Create, -parent switch} {unixOnly} {
test xmfbox-1.2 {tkMotifFDialog_Create, -parent switch} {unixOnly} {
catch {unset foo}
toplevel .bar
+ wm geometry .bar +0+0
set x [tkMotifFDialog_Create foo open {-parent .bar}]
catch {destroy $x}
catch {destroy .bar}