diff options
author | dgp <dgp@users.sourceforge.net> | 2002-07-10 11:56:44 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-07-10 11:56:44 (GMT) |
commit | b82fab03b6af98493600f93ab86254446957ffdd (patch) | |
tree | 1a37add20fefab1047a8268adf31e600b827891e /tests/regexp.test | |
parent | bf3a542777f9aa1164f705b7be08031012208d76 (diff) | |
download | tcl-b82fab03b6af98493600f93ab86254446957ffdd.zip tcl-b82fab03b6af98493600f93ab86254446957ffdd.tar.gz tcl-b82fab03b6af98493600f93ab86254446957ffdd.tar.bz2 |
* Cleaned up, constrained, and reduced the amount of [exec] usage
in the test suite.
Diffstat (limited to 'tests/regexp.test')
-rw-r--r-- | tests/regexp.test | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/regexp.test b/tests/regexp.test index c907b87..2bb017e 100644 --- a/tests/regexp.test +++ b/tests/regexp.test @@ -11,7 +11,7 @@ # 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.21 2002/07/05 10:38:43 dkf Exp $ +# RCS: @(#) $Id: regexp.test,v 1.22 2002/07/10 11:56:44 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -433,10 +433,11 @@ test regexp-14.2 {CompileRegexp: regexp cache, different flags} { regexp -nocase $x bbba } 1 -# There is no exec on the Mac ... - -test regexp-14.3 {CompileRegexp: regexp cache, empty regexp and empty cache} {unixOrPc} { - exec $::tcltest::tcltest [makeFile {puts [regexp {} foo]} junk.tcl] +testConstraint exec [llength [info commands exec]] +test regexp-14.3 {CompileRegexp: regexp cache, empty regexp and empty cache} { + exec +} { + exec [interpreter] [makeFile {puts [regexp {} foo]} junk.tcl] } 1 test regexp-15.1 {regexp -start} { |