summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2008-04-08 23:15:57 (GMT)
committerdas <das>2008-04-08 23:15:57 (GMT)
commitdc2f74c6070596e4d5a19fbf284d1c20d447453a (patch)
treef195693a297e72a0e8d7dff49f8ae64b89d76ec8
parentcd778f7c442ce23fe562d67ffeb097fbc286365a (diff)
downloadtcl-dc2f74c6070596e4d5a19fbf284d1c20d447453a.zip
tcl-dc2f74c6070596e4d5a19fbf284d1c20d447453a.tar.gz
tcl-dc2f74c6070596e4d5a19fbf284d1c20d447453a.tar.bz2
* tests/chanio.test (chan-io-53.8,53.9,53.10): fix typo & quoting for
* tests/io.test (io-53.8,53.9,53.10): spaces in builddir path
-rw-r--r--ChangeLog23
-rw-r--r--tests/chanio.test8
-rw-r--r--tests/io.test8
3 files changed, 21 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index 6c30da3..97cc292 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-09 Daniel Steffen <das@users.sourceforge.net>
+
+ * tests/chanio.test (chan-io-53.8,53.9,53.10): fix typo & quoting for
+ * tests/io.test (io-53.8,53.9,53.10): spaces in builddir path
+
2008-04-08 Miguel Sofer <msofer@users.sf.net>
* generic/tclExecute.c: added comments to the alignment macros
@@ -25,15 +30,14 @@
* generic/tclIO.c (BUSY_STATE, CheckChannelErrors,
TclCopyChannel): New macro, and the places using it. This change
- allows for bi-directional fcopy on channels. [Bug 1350564].
- Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net>
- for the patch.
+ allows for bi-directional fcopy on channels. [Bug 1350564]. Thanks
+ to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for the
+ patch.
2008-04-07 Reinhard Max <max@suse.de>
- * generic/tclStringObj.c (Tcl_AppendFormatToObj):
- Fix [format {% d}] so that it behaves the same way as in 8.4 and
- as C's printf().
+ * generic/tclStringObj.c (Tcl_AppendFormatToObj): Fix [format {% d}]
+ so that it behaves the same way as in 8.4 and as C's printf().
* tests/format.test: Add a test for '% d' and '%+d'.
2008-04-05 Kevin B. Kenny <kennykb@acm.org>
@@ -62,8 +66,8 @@
* tests/io.test (io-53.9): Added testcase for [Bug 780533], based
* tests/chanio.test: on Alexandre's test script. Also fixed
- problem with timer in preceding test, was not canceled properly
- in the ok case.
+ problem with timer in preceding test, was not canceled properly in
+ the ok case.
2008-04-04 Andreas Kupries <andreask@activestate.com>
@@ -77,8 +81,7 @@
* generic/tclIORChan.c (ReflectClose): Added missing removal of
the now closed channel from the reflection map. Before we could
crash the system by invoking 'chan postevent' on a closed
- reflected channel, dereferencing the dangling pointer in the
- map.
+ reflected channel, dereferencing the dangling pointer in the map.
* tests/ioCmd.test (iocmd-31.8): Testcase for the above.
diff --git a/tests/chanio.test b/tests/chanio.test
index 1a4c3b6..885a3cd 100644
--- a/tests/chanio.test
+++ b/tests/chanio.test
@@ -13,7 +13,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: chanio.test,v 1.7 2008/04/07 22:53:09 andreas_kupries Exp $
+# RCS: @(#) $Id: chanio.test,v 1.8 2008/04/08 23:15:58 das Exp $
if {[catch {package require tcltest 2}]} {
chan puts stderr "Skipping tests in [info script]. tcltest 2 required."
@@ -6911,7 +6911,7 @@ test chan-io-53.8 {CopyData: async callback and error handling, Bug 1932639} -se
# Run the copy. Should not invoke -command now.
chan copy $f $g -size 2 -command ::cmd
# Check that -command was not called synchronously
- set sbs [file size bar]
+ set sbs [file size $bar]
lappend ::RES [expr {($sbs > 0) ? "sync/FAIL" : "sync/OK"}] $sbs
# Now let the async part happen. Should capture the error in cmd
# via bgerror. If not break the event loop via timer.
@@ -6936,7 +6936,7 @@ test chan-io-53.8 {CopyData: async callback and error handling, Bug 1932639} -se
test chan-io-53.9 {CopyData: -size and event interaction, Bug 780533} -setup {
set out [makeFile {} out]
set err [makeFile {} err]
- set pipe [open "|[info nameofexecutable] 2> $err" r+]
+ set pipe [open "|[list [info nameofexecutable] 2> $err]" r+]
chan configure $pipe -translation binary -buffering line
chan puts $pipe {
chan configure stdout -translation binary -buffering line
@@ -6984,7 +6984,7 @@ test chan-io-53.9 {CopyData: -size and event interaction, Bug 780533} -setup {
} -result OK
test chan-io-53.10 {Bug 1350564, multi-directional fcopy} -setup {
set err [makeFile {} err]
- set pipe [open "|[info nameofexecutable] 2> $err" r+]
+ set pipe [open "|[list [info nameofexecutable] 2> $err]" r+]
chan configure $pipe -translation binary -buffering line
chan puts $pipe {
chan configure stderr -buffering line
diff --git a/tests/io.test b/tests/io.test
index d6ea6c4..084723a 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -13,7 +13,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: io.test,v 1.84 2008/04/07 22:53:09 andreas_kupries Exp $
+# RCS: @(#) $Id: io.test,v 1.85 2008/04/08 23:16:00 das Exp $
if {[catch {package require tcltest 2}]} {
puts stderr "Skipping tests in [info script]. tcltest 2 required."
@@ -6911,7 +6911,7 @@ test io-53.8 {CopyData: async callback and error handling, Bug 1932639} -setup {
# Run the copy. Should not invoke -command now.
fcopy $f $g -size 2 -command ::cmd
# Check that -command was not called synchronously
- set sbs [file size bar]
+ set sbs [file size $bar]
lappend ::RES [expr {($sbs > 0) ? "sync/FAIL" : "sync/OK"}] $sbs
# Now let the async part happen. Should capture the error in cmd
# via bgerror. If not break the event loop via timer.
@@ -6936,7 +6936,7 @@ test io-53.8 {CopyData: async callback and error handling, Bug 1932639} -setup {
test io-53.9 {CopyData: -size and event interaction, Bug 780533} -setup {
set out [makeFile {} out]
set err [makeFile {} err]
- set pipe [open "|[info nameofexecutable] 2> $err" r+]
+ set pipe [open "|[list [info nameofexecutable] 2> $err]" r+]
fconfigure $pipe -translation binary -buffering line
puts $pipe {
fconfigure stdout -translation binary -buffering line
@@ -6983,7 +6983,7 @@ test io-53.9 {CopyData: -size and event interaction, Bug 780533} -setup {
} -result OK
test io-53.10 {Bug 1350564, multi-directional fcopy} -setup {
set err [makeFile {} err]
- set pipe [open "|[info nameofexecutable] 2> $err" r+]
+ set pipe [open "|[list [info nameofexecutable] 2> $err]" r+]
fconfigure $pipe -translation binary -buffering line
puts $pipe {
fconfigure stderr -buffering line