summaryrefslogtreecommitdiff
path: root/tk/tests/bell.test
diff options
context:
space:
mode:
Diffstat (limited to 'tk/tests/bell.test')
-rw-r--r--tk/tests/bell.test30
1 files changed, 21 insertions, 9 deletions
diff --git a/tk/tests/bell.test b/tk/tests/bell.test
index 4ea8983edfe..e2d66f62be1 100644
--- a/tk/tests/bell.test
+++ b/tk/tests/bell.test
@@ -2,16 +2,13 @@
# It is organized in the standard fashion for Tcl tests.
#
# Copyright (c) 1994 The Regents of the University of California.
-# Copyright (c) 1994-1996 Sun Microsystems, Inc.
-# Copyright (c) 1998 by Scriptics Corporation.
-#
-# See the file "license.terms" for information on usage and redistribution
-# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
+# Copyright (c) 1998-1999 by Scriptics Corporation.
+# All rights reserved.
#
# RCS: @(#) $Id$
-if {[string compare test [info procs test]] == 1} {
- source defs
+if {[lsearch [namespace children] ::tcltest] == -1} {
+ source [file join [pwd] [file dirname [info script]] defs.tcl]
}
test bell-1.1 {bell command} {
@@ -29,9 +26,24 @@ test bell-1.4 {bell command} {
after 500
bell -displayof .
after 200
- bell -dis .
- after 200
bell
after 200
bell
} {}
+
+# cleanup
+::tcltest::cleanupTests
+return
+
+
+
+
+
+
+
+
+
+
+
+
+