summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2008-04-09 19:49:07 (GMT)
committerandreas_kupries <akupries@shaw.ca>2008-04-09 19:49:07 (GMT)
commit2f4dbc92d9400613c34d96550cda0da27404b84d (patch)
tree0ff0832fafd59b21f33f434fd4967e7b59d69d08
parent9bb2ff4b525caf08e3d48cadac6631b5693687aa (diff)
downloadtcl-2f4dbc92d9400613c34d96550cda0da27404b84d.zip
tcl-2f4dbc92d9400613c34d96550cda0da27404b84d.tar.gz
tcl-2f4dbc92d9400613c34d96550cda0da27404b84d.tar.bz2
* tests/chanio.test (chan-io-52.5): Removed '-size -1' from test,
* tests/io.test (io-52.5): does not seem to have any bearing, and was an illegal value.
-rw-r--r--ChangeLog6
-rw-r--r--tests/chanio.test4
-rw-r--r--tests/io.test4
3 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6403a6d..f5ef0ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2008-04-09 Andreas Kupries <andreask@activestate.com>
+ * tests/chanio.test (chan-io-52.5): Removed '-size -1' from test,
+ * tests/io.test (io-52.5): does not seem to have any bearing, and
+ was an illegal value. Test case is not affected by the value of
+ -size, test flag restoration and that evrything was properly
+ copied.
+
* generic/tclIOCmd.c (Tcl_FcopyObjCmd): Added checking of -size
* tests/ioCmd.test (iocmd-15.{13,14}): value to reject negative
values, and values overflowing 32-bit signed. [Bug 1557855]. Basic
diff --git a/tests/chanio.test b/tests/chanio.test
index 885a3cd..e5f2852 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.8 2008/04/08 23:15:58 das Exp $
+# RCS: @(#) $Id: chanio.test,v 1.9 2008/04/09 19:49:09 andreas_kupries Exp $
if {[catch {package require tcltest 2}]} {
chan puts stderr "Skipping tests in [info script]. tcltest 2 required."
@@ -6547,7 +6547,7 @@ test chan-io-52.5 {TclCopyChannel} {fcopy} {
set f2 [open $path(test1) w]
chan configure $f1 -translation lf -blocking 0
chan configure $f2 -translation lf -blocking 0
- chan copy $f1 $f2 -size -1
+ chan copy $f1 $f2 ;#-size -1
set result [list [chan configure $f1 -blocking] [chan configure $f2 -blocking]]
chan close $f1
chan close $f2
diff --git a/tests/io.test b/tests/io.test
index 084723a..908dae2 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.85 2008/04/08 23:16:00 das Exp $
+# RCS: @(#) $Id: io.test,v 1.86 2008/04/09 19:49:08 andreas_kupries Exp $
if {[catch {package require tcltest 2}]} {
puts stderr "Skipping tests in [info script]. tcltest 2 required."
@@ -6547,7 +6547,7 @@ test io-52.5 {TclCopyChannel} {fcopy} {
set f2 [open $path(test1) w]
fconfigure $f1 -translation lf -blocking 0
fconfigure $f2 -translation lf -blocking 0
- fcopy $f1 $f2 -size -1
+ fcopy $f1 $f2 ;#-size -1
set result [list [fconfigure $f1 -blocking] [fconfigure $f2 -blocking]]
close $f1
close $f2