diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2002-07-05 10:38:42 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2002-07-05 10:38:42 (GMT) |
commit | a407e1e0a4496d94823146e2bacf89ba0d5634f5 (patch) | |
tree | baa4c102aff8ec62a52114ea6ce1cacb8237f8c7 /tests/regexp.test | |
parent | c8b71f046baf06c64c0bb2e7c5c295b0fc742f5e (diff) | |
download | tcl-a407e1e0a4496d94823146e2bacf89ba0d5634f5.zip tcl-a407e1e0a4496d94823146e2bacf89ba0d5634f5.tar.gz tcl-a407e1e0a4496d94823146e2bacf89ba0d5634f5.tar.bz2 |
Made many tests work properly when the current directory is not writable.
Added targets to unix/Makefile.in to facilitate testing of this situation.
Diffstat (limited to 'tests/regexp.test')
-rw-r--r-- | tests/regexp.test | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/regexp.test b/tests/regexp.test index 895b44c..c907b87 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.20 2002/03/01 06:24:07 hobbs Exp $ +# RCS: @(#) $Id: regexp.test,v 1.21 2002/07/05 10:38:43 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -436,8 +436,7 @@ test regexp-14.2 {CompileRegexp: regexp cache, different flags} { # There is no exec on the Mac ... test regexp-14.3 {CompileRegexp: regexp cache, empty regexp and empty cache} {unixOrPc} { - makeFile {puts [regexp {} foo]} junk.tcl - exec $::tcltest::tcltest junk.tcl + exec $::tcltest::tcltest [makeFile {puts [regexp {} foo]} junk.tcl] } 1 test regexp-15.1 {regexp -start} { |