summaryrefslogtreecommitdiffstats
path: root/tests/tk.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-07-12 21:08:48 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-07-12 21:08:48 (GMT)
commitc67bb2bfa2e4f3a9aff167a37f0d2bb6f06b67cc (patch)
tree324b81919ba9b29c1d80c92b462203c6220febbd /tests/tk.test
parent92b5df1f4c8a5885e387c9f91b89b4ac70d00abd (diff)
downloadtk-c67bb2bfa2e4f3a9aff167a37f0d2bb6f06b67cc.zip
tk-c67bb2bfa2e4f3a9aff167a37f0d2bb6f06b67cc.tar.gz
tk-c67bb2bfa2e4f3a9aff167a37f0d2bb6f06b67cc.tar.bz2
* Converted several files in the Tk test suite for testing by
tcltest 2.1.
Diffstat (limited to 'tests/tk.test')
-rw-r--r--tests/tk.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tk.test b/tests/tk.test
index d9e8baa..9423f15 100644
--- a/tests/tk.test
+++ b/tests/tk.test
@@ -5,11 +5,11 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# Copyright (c) 2002 ActiveState Corporation.
#
-# RCS: @(#) $Id: tk.test,v 1.6 2002/06/17 20:09:01 hobbs Exp $
+# RCS: @(#) $Id: tk.test,v 1.7 2002/07/12 21:08:49 dgp Exp $
-if {[lsearch [namespace children] ::tcltest] == -1} {
- source [file join [pwd] [file dirname [info script]] defs.tcl]
-}
+package require tcltest 2.1
+namespace import -force tcltest::test
+eval tcltest::configure $argv
test tk-1.1 {tk command: general} {
list [catch {tk} msg] $msg