diff options
author | dkf <dkf@noemail.net> | 2008-12-01 15:22:53 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2008-12-01 15:22:53 (GMT) |
commit | 93318379b2dfc2f7995b86c29d2e8ce63070c888 (patch) | |
tree | ecb893ca7cef67085701c2fe7a6dbc943b98b934 /tests/cmdAH.test | |
parent | 95d48c95ee1f4498130d4ea344be063e8de74ee3 (diff) | |
download | tcl-93318379b2dfc2f7995b86c29d2e8ce63070c888.zip tcl-93318379b2dfc2f7995b86c29d2e8ce63070c888.tar.gz tcl-93318379b2dfc2f7995b86c29d2e8ce63070c888.tar.bz2 |
Fix [Bug 2371623] with a constraint.
FossilOrigin-Name: 157967a1e195e3f288ddc0b72f9fe0dbe21d3b23
Diffstat (limited to 'tests/cmdAH.test')
-rw-r--r-- | tests/cmdAH.test | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test index b5408dd..da554ce 100644 --- a/tests/cmdAH.test +++ b/tests/cmdAH.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: cmdAH.test,v 1.64 2008/11/29 18:17:19 dkf Exp $ +# RCS: @(#) $Id: cmdAH.test,v 1.65 2008/12/01 15:22:55 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -1568,12 +1568,13 @@ test cmdAH-32.5 {file tempfile - templates} -constraints unix -body { } -cleanup { catch {file delete $name} } -result ok -test cmdAH-32.6 {file tempfile - templates} -constraints unix -body { +# Not portable; not all unix systems have mkstemps() +test cmdAH-32.6 {file tempfile - templates} -body { set template [file join $dirfile foo] close [file tempfile name $template.bar] expr {[string match $template*.bar $name] ? "ok" : "$template.bar produced $name"} -} -cleanup { +} -constraints {unix nonPortable} -cleanup { catch {file delete $name} } -result ok |