diff options
author | jenn <jenn> | 1999-06-26 03:54:09 (GMT) |
---|---|---|
committer | jenn <jenn> | 1999-06-26 03:54:09 (GMT) |
commit | c750824920529a5930ca3a8c4301a9cf9c45d6a4 (patch) | |
tree | 475011f75181f78a0a48f3360124d7e98188018e /tests/env.test | |
parent | f95999e4e240586c6002c721425f7b17e84f3637 (diff) | |
download | tcl-c750824920529a5930ca3a8c4301a9cf9c45d6a4.zip tcl-c750824920529a5930ca3a8c4301a9cf9c45d6a4.tar.gz tcl-c750824920529a5930ca3a8c4301a9cf9c45d6a4.tar.bz2 |
Modified the tests to use the package tcltest
Diffstat (limited to 'tests/env.test')
-rw-r--r-- | tests/env.test | 7 |
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 {} } |