diff options
author | dgp <dgp@users.sourceforge.net> | 2014-05-09 16:31:06 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-05-09 16:31:06 (GMT) |
commit | d7461d07ad79630ccb7605ea15e47e50aaea44a9 (patch) | |
tree | bb05424234fdf8706f3c82663cada2dfd72af159 /tests/chanio.test | |
parent | a84b51c1b4d6b6279e7ee1dbb533cc9b9dab6085 (diff) | |
download | tcl-d7461d07ad79630ccb7605ea15e47e50aaea44a9.zip tcl-d7461d07ad79630ccb7605ea15e47e50aaea44a9.tar.gz tcl-d7461d07ad79630ccb7605ea15e47e50aaea44a9.tar.bz2 |
Tests (chan)io-34.21 are constrained for largefileSupport, and that's
disabled by default, which means never tested, which means the ridiculous
bugs in them are never found and fixed.
Fixed the bugs, changed the default. Large File Suppport (4GB) is
commonplace now. Let those without it suffer a few failing tests reporting
that fact to them.
Diffstat (limited to 'tests/chanio.test')
-rw-r--r-- | tests/chanio.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/chanio.test b/tests/chanio.test index b195f7b..5ea7ec1 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 1 # 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} |