summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--tests/basic.test8
-rw-r--r--tests/encoding.test6
3 files changed, 14 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b6c47c..b6968d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-05-07 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * tests/basic.test: Fix for [Bug 549607]
+ * tests/encoding.test: Fix for [Bug 549610]
+ These are testsuite bugs that caused failures when the filename
+ contained spaces. Report & fix by Kevin Kenny.
+
2002-05-02 Vince Darley <vincentdarley@users.sourceforge.net>
* generic/tclFileName.c: fix to freeing a bad object
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} {