diff options
author | andreas_kupries <akupries@shaw.ca> | 2002-06-17 20:05:49 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2002-06-17 20:05:49 (GMT) |
commit | d791a1f9dbfd5b4dd46a45187426558573eec9ce (patch) | |
tree | f5b2f06eebc4e090060919202f111fc9d19cf9ac /tests | |
parent | 9153e89fb7f07be33d811904b905fd07fe8af916 (diff) | |
download | tcl-d791a1f9dbfd5b4dd46a45187426558573eec9ce.zip tcl-d791a1f9dbfd5b4dd46a45187426558573eec9ce.tar.gz tcl-d791a1f9dbfd5b4dd46a45187426558573eec9ce.tar.bz2 |
* win/tclWinPipe.c (BuildCommandLine): Fixed bug #554068 ([exec]
on windows did not treat { in filenames well.). Bug reported by
Vince Darley <vincentdarley@users.sourceforge.net>, patch
provided by Vince too.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/exec.test | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/exec.test b/tests/exec.test index 9087173..9ead9ce 100644 --- a/tests/exec.test +++ b/tests/exec.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: exec.test,v 1.9 2001/11/23 01:26:02 das Exp $ +# RCS: @(#) $Id: exec.test,v 1.10 2002/06/17 20:05:49 andreas_kupries Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -586,6 +586,16 @@ test exec-17.1 { inheriting standard I/O } {execCommandExists stdio} { } {{foobar }} +test exec-18.1 { exec cat deals with weird file names} {execCommandExists} { + set f "foo\[\{blah" + set fout [open $f w] + puts $fout "contents" + close $fout + set res [list [catch {exec cat $f} msg] $msg] + file delete $f + set res +} {0 contents} + # cleanup file delete script gorp.file gorp.file2 file delete echo cat wc sh sleep exit |