summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2004-06-01 18:36:26 (GMT)
committerdavygrvy <davygrvy@pobox.com>2004-06-01 18:36:26 (GMT)
commit8d7cfa46ef06818c5af3ac190ca5d8ac6f827b20 (patch)
tree2ca66a3a7791d0200cf684e5f4f1b837bee6d218 /tests/io.test
parent29de0e10bf57dd31e7d0f9bc0e7a84d5790feb20 (diff)
downloadtcl-8d7cfa46ef06818c5af3ac190ca5d8ac6f827b20.zip
tcl-8d7cfa46ef06818c5af3ac190ca5d8ac6f827b20.tar.gz
tcl-8d7cfa46ef06818c5af3ac190ca5d8ac6f827b20.tar.bz2
reverted back to 1.53
Diffstat (limited to 'tests/io.test')
-rw-r--r--tests/io.test14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/io.test b/tests/io.test
index 9fc72c9..0f2736d 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -12,7 +12,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.54 2004/06/01 18:08:13 davygrvy Exp $
+# RCS: @(#) $Id: io.test,v 1.55 2004/06/01 18:36:26 davygrvy Exp $
if {[catch {package require tcltest 2}]} {
puts stderr "Skipping tests in [info script]. tcltest 2 required."
@@ -4788,15 +4788,15 @@ test io-38.2 {Tcl_SetChannelBufferSize, Tcl_GetChannelBufferSize} {
lappend l [fconfigure $f -buffersize]
fconfigure $f -buffersize 10000
lappend l [fconfigure $f -buffersize]
- catch {fconfigure $f -buffersize 1}
+ fconfigure $f -buffersize 1
lappend l [fconfigure $f -buffersize]
- catch {fconfigure $f -buffersize -1}
+ fconfigure $f -buffersize -1
lappend l [fconfigure $f -buffersize]
- catch {fconfigure $f -buffersize 0}
+ fconfigure $f -buffersize 0
lappend l [fconfigure $f -buffersize]
fconfigure $f -buffersize 100000
lappend l [fconfigure $f -buffersize]
- catch {fconfigure $f -buffersize 10000000}
+ fconfigure $f -buffersize 10000000
lappend l [fconfigure $f -buffersize]
close $f
set l
@@ -4965,7 +4965,7 @@ test io-39.10 {Tcl_SetChannelOption, blocking mode} {stdio openpipe} {
test io-39.11 {Tcl_SetChannelOption, Tcl_GetChannelOption, buffer size} {
file delete $path(test1)
set f [open $path(test1) w]
- catch {fconfigure $f -buffersize -10}
+ fconfigure $f -buffersize -10
set x [fconfigure $f -buffersize]
close $f
set x
@@ -4973,7 +4973,7 @@ test io-39.11 {Tcl_SetChannelOption, Tcl_GetChannelOption, buffer size} {
test io-39.12 {Tcl_SetChannelOption, Tcl_GetChannelOption buffer size} {
file delete $path(test1)
set f [open $path(test1) w]
- catch {fconfigure $f -buffersize 10000000}
+ fconfigure $f -buffersize 10000000
set x [fconfigure $f -buffersize]
close $f
set x