summaryrefslogtreecommitdiffstats
path: root/tests/append.test
diff options
context:
space:
mode:
authorhershey <hershey>1999-03-11 18:49:22 (GMT)
committerhershey <hershey>1999-03-11 18:49:22 (GMT)
commit07d6012fb42480a22f42f53b9d73eb838d5c67d7 (patch)
tree0462404b0b65394e3ef76acdc52cc18966fb9789 /tests/append.test
parent4a327a6afdf45b23c8606d5f3d5a51b2b7876384 (diff)
downloadtcl-07d6012fb42480a22f42f53b9d73eb838d5c67d7.zip
tcl-07d6012fb42480a22f42f53b9d73eb838d5c67d7.tar.gz
tcl-07d6012fb42480a22f42f53b9d73eb838d5c67d7.tar.bz2
Updated the testsuite to use "test" namespace and commandline args
to control verbose level and which tests get run. Tests now work from any working dir.
Diffstat (limited to 'tests/append.test')
-rw-r--r--tests/append.test11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/append.test b/tests/append.test
index d25e141..94fa8f3 100644
--- a/tests/append.test
+++ b/tests/append.test
@@ -6,14 +6,16 @@
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
+# Copyright (c) 1998-1999 by Scriptics Corporation.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: append.test,v 1.1.2.2 1998/09/24 23:59:19 stanton Exp $
-
-if {[info procs test] != "test"} {source defs}
+# RCS: @(#) $Id: append.test,v 1.1.2.3 1999/03/11 18:49:23 hershey Exp $
+if {[lsearch [namespace children] ::test] == -1} {
+ source [file join [pwd] [file dirname [info script]] defs.tcl]
+}
catch {unset x}
test append-1.1 {append command} {
@@ -175,4 +177,7 @@ catch {unset i x result y}
catch {rename foo ""}
catch {rename check ""}
+# cleanup
+::test::cleanupTests
return
+