summaryrefslogtreecommitdiffstats
path: root/tests/chanio.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-05-16 14:47:59 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-05-16 14:47:59 (GMT)
commit0c97f2ebb010c257374052fb66f737f99cb1e018 (patch)
treef40ad72828d9fa3a5dc4a59ede2dee8daed72706 /tests/chanio.test
parent6f8a00dcd5a10e71caf9e3d2f7067523c4ff0b28 (diff)
parent267fb4eebd7345f715153cea17de47c2396d31f8 (diff)
downloadtcl-bug_io_32_11.zip
tcl-bug_io_32_11.tar.gz
tcl-bug_io_32_11.tar.bz2
merge 8.5bug_io_32_11
Diffstat (limited to 'tests/chanio.test')
-rw-r--r--tests/chanio.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/chanio.test b/tests/chanio.test
index b195f7b..2f2540e 100644
--- a/tests/chanio.test
+++ b/tests/chanio.test
@@ -41,7 +41,7 @@ namespace eval ::tcl::test::io {
# You need a *very* special environment to do some tests. In
# particular, many file systems do not support large-files...
- testConstraint largefileSupport 0
+ testConstraint largefileSupport [expr {$::tcl_platform(os) ne "Darwin"}]
# some tests can only be run is umask is 2
# if "umask" cannot be run, the tests will be skipped.
@@ -4427,10 +4427,10 @@ test chan-io-34.21 {Tcl_Seek and Tcl_Tell on large files} {largefileSupport} {
chan puts -nonewline $f abcdef
lappend l [chan tell $f]
chan close $f
- lappend l [file size $f]
+ lappend l [file size $path(test3)]
# truncate...
chan close [open $path(test3) w]
- lappend l [file size $f]
+ lappend l [file size $path(test3)]
set l
} {0 6 6 4294967296 4294967302 4294967302 0}