diff options
-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 |