diff options
author | dgp <dgp@noemail.net> | 2004-02-25 23:38:14 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2004-02-25 23:38:14 (GMT) |
commit | c46f2bf352448b920bc4b3662ca5c61b3ff491d4 (patch) | |
tree | 3ebec546b31e48e9389e4c0bc0a55927e5a295e6 /tests/pid.test | |
parent | 4efd16fe32eff600117122a8e39de2dc64a34101 (diff) | |
download | tcl-c46f2bf352448b920bc4b3662ca5c61b3ff491d4.zip tcl-c46f2bf352448b920bc4b3662ca5c61b3ff491d4.tar.gz tcl-c46f2bf352448b920bc4b3662ca5c61b3ff491d4.tar.bz2 |
* tests/basic.test: Made several tests more robust to the
* tests/cmdMZ.test: list-quoting of path names that might
* tests/exec.test: contain Tcl-special chars like { or [.
* tests/io.test: Should help us sort out Tcl Bug 554068.
* tests/pid.test:
* tests/socket.test:
* tests/source.test:
* tests/unixInit.test:
FossilOrigin-Name: 232c518b18acc9d49f922693cfff0269be58f668
Diffstat (limited to 'tests/pid.test')
-rw-r--r-- | tests/pid.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pid.test b/tests/pid.test index 9e8fcce..45c1278 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.8.2.1 2003/10/07 18:53:23 dgp Exp $ +# RCS: @(#) $Id: pid.test,v 1.8.2.2 2004/02/25 23:38:17 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -33,7 +33,7 @@ test pid-1.2 {pid command} -constraints {unixOrPc unixExecs} -setup { set path(test1) [makeFile {} test1] file delete $path(test1) } -body { - set f [open [format {| echo foo | cat {>%s}} $path(test1)] w] + set f [open |[list echo foo | cat >$path(test1)] w] set pids [pid $f] close $f list [llength $pids] [regexp {^[0-9]+$} [lindex $pids 0]] \ |