summaryrefslogtreecommitdiffstats
path: root/tests/pid.test
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2003-02-25 22:03:23 (GMT)
committerandreas_kupries <akupries@shaw.ca>2003-02-25 22:03:23 (GMT)
commitd1b091eb4fb7d440ca4281ab468189ce04b508a6 (patch)
tree7bb73af95c128a818a1213d03dbfbe085d5ed151 /tests/pid.test
parent96a3b80e0a446cfce5e07783fee3af2965d1dd31 (diff)
downloadtcl-d1b091eb4fb7d440ca4281ab468189ce04b508a6.zip
tcl-d1b091eb4fb7d440ca4281ab468189ce04b508a6.tar.gz
tcl-d1b091eb4fb7d440ca4281ab468189ce04b508a6.tar.bz2
* tests/pid.test: See below [Bug #678412].
* tests/io.test: Made more robust against spaces in paths [Bug #678400].
Diffstat (limited to 'tests/pid.test')
-rw-r--r--tests/pid.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pid.test b/tests/pid.test
index 8d89235..0bc3d24 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.7 2002/07/04 20:06:13 andreas_kupries Exp $
+# RCS: @(#) $Id: pid.test,v 1.8 2003/02/25 22:03:45 andreas_kupries Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -33,7 +33,7 @@ test pid-1.1 {pid command} {
regexp {(^[0-9]+$)|(^0x[0-9a-fA-F]+$)} [pid]
} 1
test pid-1.2 {pid command} {unixOrPc unixExecs} {
- set f [open [format {| echo foo | cat >%s} $path(test1)] w]
+ set f [open [format {| echo foo | cat {>%s}} $path(test1)] w]
set pids [pid $f]
close $f
catch {removeFile test1}