diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2002-05-07 15:54:39 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2002-05-07 15:54:39 (GMT) |
commit | 10cbc226c1ac7f429fb8a011dd091beee3f3afeb (patch) | |
tree | b05c563bb59122105db2a6a5d1b22a485438d56f /tests | |
parent | 7c91f1013324e9413b31489bacb0006f0ec0f997 (diff) | |
download | tcl-10cbc226c1ac7f429fb8a011dd091beee3f3afeb.zip tcl-10cbc226c1ac7f429fb8a011dd091beee3f3afeb.tar.gz tcl-10cbc226c1ac7f429fb8a011dd091beee3f3afeb.tar.bz2 |
Fix for bugs #549607 & #549610: testsuite failures for filenames with spaces.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic.test | 8 | ||||
-rw-r--r-- | tests/encoding.test | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/basic.test b/tests/basic.test index 5733b4c..6159abc 100644 --- a/tests/basic.test +++ b/tests/basic.test @@ -15,7 +15,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: basic.test,v 1.19 2002/04/08 09:02:00 das Exp $ +# RCS: @(#) $Id: basic.test,v 1.20 2002/05/07 15:54:40 msofer Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { @@ -563,7 +563,7 @@ test basic-45.1 {Tcl_SetRecursionLimit: see interp.test} {emptyTest} { test basic-46.1 {Tcl_AllowExceptions: exception return not allowed} {exec} { catch {close $f} set res [catch { - set f [open |[info nameofexecutable] w+] + set f [open |[list [info nameofexecutable]] w+] fconfigure $f -buffering line puts $f {fconfigure stdout -buffering line} puts $f continue @@ -576,8 +576,8 @@ test basic-46.1 {Tcl_AllowExceptions: exception return not allowed} {exec} { append msg "${newMsg}\n" } close $f - }] - list $res $msg + } error] + list $res $msg } {1 {invoked "continue" outside of a loop while executing "continue diff --git a/tests/encoding.test b/tests/encoding.test index ef9214e..3fb9b84 100644 --- a/tests/encoding.test +++ b/tests/encoding.test @@ -8,7 +8,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: encoding.test,v 1.11 2002/04/08 09:02:19 das Exp $ +# RCS: @(#) $Id: encoding.test,v 1.12 2002/05/07 15:54:40 msofer Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -372,7 +372,7 @@ test encoding-24.1 {EscapeFreeProc on open channels} {exec} { gets $f } close $f - exec [list $::tcltest::tcltest] iso2022.tcl + exec $::tcltest::tcltest iso2022.tcl } {} test encoding-24.2 {EscapeFreeProc on open channels} {exec} { @@ -384,7 +384,7 @@ test encoding-24.2 {EscapeFreeProc on open channels} {exec} { exit } close $f - viewable [exec [list $::tcltest::tcltest] iso2022.tcl] + viewable [exec $::tcltest::tcltest iso2022.tcl] } "ab\x1b\$B8C\x1b\$(DD%\x1b(Bg (ab\\u001b\$B8C\\u001b\$(DD%\\u001b(Bg)" test encoding-24.3 {EscapeFreeProc on open channels} {exec} { |