diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-05-19 22:06:07 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-05-19 22:06:07 (GMT) |
commit | a84414976b66cd9401a968f794feffd0bd8c9f79 (patch) | |
tree | 87845c806489cc55ab2be5cf261f39cb897cd181 | |
parent | 4fb6d54c3cbe8ac23f1789bc21de3b5d104859ce (diff) | |
download | tcl-a84414976b66cd9401a968f794feffd0bd8c9f79.zip tcl-a84414976b66cd9401a968f794feffd0bd8c9f79.tar.gz tcl-a84414976b66cd9401a968f794feffd0bd8c9f79.tar.bz2 |
Oops! Duplicated a -constraints section, which confused tcltest
-rw-r--r-- | tests/pid.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pid.test b/tests/pid.test index 09715e5..9734d51 100644 --- a/tests/pid.test +++ b/tests/pid.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: pid.test,v 1.11 2004/05/19 12:51:34 dkf Exp $ +# RCS: @(#) $Id: pid.test,v 1.12 2004/05/19 22:06:07 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -23,10 +23,10 @@ testConstraint pidDefined [llength [info commands pid]] test pid-1.1 {pid command} pidDefined { regexp {(^[0-9]+$)|(^0x[0-9a-fA-F]+$)} [pid] } 1 -test pid-1.2 {pid command} -constraints {unixOrPc unixExecs} -setup { +test pid-1.2 {pid command} -constraints {unixOrPc unixExecs pidDefined} -setup { set path(test1) [makeFile {} test1] file delete $path(test1) -} -constraints pidDefined -body { +} -body { set f [open |[list echo foo | cat >$path(test1)] w] set pids [pid $f] close $f |