summaryrefslogtreecommitdiffstats
path: root/tests/basic.test
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2002-05-07 15:54:39 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2002-05-07 15:54:39 (GMT)
commit10cbc226c1ac7f429fb8a011dd091beee3f3afeb (patch)
treeb05c563bb59122105db2a6a5d1b22a485438d56f /tests/basic.test
parent7c91f1013324e9413b31489bacb0006f0ec0f997 (diff)
downloadtcl-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/basic.test')
-rw-r--r--tests/basic.test8
1 files changed, 4 insertions, 4 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