summaryrefslogtreecommitdiffstats
path: root/tests/env.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/env.test')
-rw-r--r--tests/env.test7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/env.test b/tests/env.test
index 543a939..164e634 100644
--- a/tests/env.test
+++ b/tests/env.test
@@ -11,10 +11,11 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: env.test,v 1.5 1999/04/30 22:45:02 stanton Exp $
+# RCS: @(#) $Id: env.test,v 1.6 1999/06/26 03:54:12 jenn Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
- source [file join [pwd] [file dirname [info script]] defs.tcl]
+ package require tcltest
+ namespace import ::tcltest::*
}
#
@@ -88,7 +89,7 @@ close $f
proc getenv {} {
global printenv tcltest
- catch {exec $tcltest printenv} out
+ catch {exec $::tcltest::tcltest printenv} out
if {$out == "child process exited abnormally"} {
set out {}
}