diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/exec.test | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/exec.test b/tests/exec.test index b142e9b..95010de 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.6 1999/08/27 21:45:17 jenn Exp $ +# RCS: @(#) $Id: exec.test,v 1.7 2000/03/31 19:39:42 ericm Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -141,6 +141,13 @@ test exec-2.4 {redirecting input from immediate source} {execCommandExists stdio test exec-2.5 {redirecting input from immediate source} {execCommandExists stdio} { exec $::tcltest::tcltest cat "<<Joined to arrows" } {Joined to arrows} +test exec-2.6 {redirecting input from immediate source, with UTF} {execCommandExists stdio} { + # If this fails, it may give back: + # "\uC3\uA9\uC3\uA0\uC3\uBC\uC3\uB1" + # If it does, this means that the UTF -> external conversion did not + # occur before writing out the temp file. + exec $::tcltest::tcltest cat << "\uE9\uE0\uFC\uF1" +} "\uE9\uE0\uFC\uF1" # I/O redirection: output to file. |