summaryrefslogtreecommitdiffstats
path: root/tests/pkg.test
diff options
context:
space:
mode:
authorrjohnson <rjohnson>1999-06-26 20:55:07 (GMT)
committerrjohnson <rjohnson>1999-06-26 20:55:07 (GMT)
commitb7d2ed098d4da0c69bea2284a85c32b2c5b963d2 (patch)
tree665586b1c9303e9fcaca207d55c27882b0d49e8c /tests/pkg.test
parent13e2875c78600a24136dabeee868927b69502252 (diff)
downloadtcl-b7d2ed098d4da0c69bea2284a85c32b2c5b963d2.zip
tcl-b7d2ed098d4da0c69bea2284a85c32b2c5b963d2.tar.gz
tcl-b7d2ed098d4da0c69bea2284a85c32b2c5b963d2.tar.bz2
Fixed style problems in many of the test files.
Fixed bug in pkg.test where defs.tcl was still being used.
Diffstat (limited to 'tests/pkg.test')
-rw-r--r--tests/pkg.test7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/pkg.test b/tests/pkg.test
index aa0ea7e..82cc7a5 100644
--- a/tests/pkg.test
+++ b/tests/pkg.test
@@ -10,18 +10,19 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: pkg.test,v 1.5 1999/06/26 03:54:20 jenn Exp $
+# RCS: @(#) $Id: pkg.test,v 1.6 1999/06/26 20:55:09 rjohnson Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
- namespace import ::tcltest::*
+ namespace import ::tcltest::*
}
# Do all this in a slave interp to avoid garbaging the
# package list
set i [interp create]
interp eval $i [list set argv $argv]
-interp eval $i [list source [file join $::tcltest::testsDirectory defs.tcl]]
+interp eval $i [list package require tcltest]
+interp eval $i [list namespace import ::tcltest::*]
interp eval $i {
eval package forget [package names]