summaryrefslogtreecommitdiffstats
path: root/tests/regexp.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regexp.test')
-rw-r--r--tests/regexp.test7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/regexp.test b/tests/regexp.test
index 781cf24..0d1e021 100644
--- a/tests/regexp.test
+++ b/tests/regexp.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: regexp.test,v 1.6 1999/06/17 19:31:50 stanton Exp $
+# RCS: @(#) $Id: regexp.test,v 1.7 1999/06/26 03:54:22 jenn Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
- source [file join [pwd] [file dirname [info script]] defs.tcl]
+ package require tcltest
+ namespace import ::tcltest::*
}
catch {unset foo}
@@ -404,7 +405,7 @@ test regexp-14.2 {CompileRegexp: regexp cache, different flags} {
} 1
test regexp-14.3 {CompileRegexp: regexp cache, empty regexp and empty cache} {
makeFile {puts [regexp {} foo]} junk.tcl
- exec $tcltest junk.tcl
+ exec $::tcltest::tcltest junk.tcl
} 1
set x 1