summaryrefslogtreecommitdiffstats
path: root/tests/regexpComp.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regexpComp.test')
-rw-r--r--tests/regexpComp.test9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/regexpComp.test b/tests/regexpComp.test
index 20492c9..3ae78b2 100644
--- a/tests/regexpComp.test
+++ b/tests/regexpComp.test
@@ -592,10 +592,11 @@ test regexp-14.2 {CompileRegexp: regexp cache, different flags} {
}
} 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} {