|
2002-07-09
| ||
| 03:44 | • Closed ticket [578163ffff]: Tests using viewFile fail plus 7 other changes artifact: 514f02591a user: dgp | |
|
2002-07-08
| ||
| 19:26 | • Ticket [578163ffff]: 4 changes artifact: 697a0e93e6 user: vincentdarley | |
| 19:26 | • Ticket [578163ffff]: 1 change artifact: 43da9fd28e user: vincentdarley | |
|
2002-07-07
| ||
| 01:22 | • Ticket [578163ffff]: 4 changes artifact: 241510e727 user: dgp | |
|
2002-07-06
| ||
| 17:57 | • New ticket [578163ffff]. artifact: 3e1c7f5590 user: kennykb | |
Tests using viewFile fail
Closed / Fixed578163ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-07-06 17:57:00
In the current HEAD, tests that use the [viewFile] command
are still failing; we need to reconcile the Tcl tests with
the tcltest package changes one way or the other.
==== io-34.11 Tcl_Seek testing flushing of buffered output FAILED
==== Contents of test case:
set f [open $path(test3) w]
puts $f xyz\n123
close $f
set f [open $path(test3) w+]
puts $f xyzzy
seek $f 2
set x [gets $f]
close $f
list $x [viewFile test3]
---- Result was:
zzy {xyzzy
}
---- Result should have been (exact matching):
zzy xyzzy
==== io-34.11 FAILED
==== io-40.7 POSIX open access modes: EXCL FAILED
==== Contents of test case:
removeFile test3
set f [open $path(test3) {WRONLY CREAT EXCL}]
fconfigure $f -eofchar {}
puts $f "A test line"
close $f
viewFile test3
---- Result was:
A test line
---- Result should have been (exact matching):
A test line
==== io-40.7 FAILED
dgpplain2002-07-07 01:22:57
Logged In: YES user_id=80530 Perhaps an effect of using binary-encoding to read in the file? Did these tests work in Tcl 8.4a4, or were they constrained to keep from running? [viewFile] has been converted to read directly using a binary encoding, where it used to [exec] a "cat" program.
vincentdarley Ticket [578163ffff]: 1 change
[History diff]2002-07-08 19:26:23
vincentdarleyplain2002-07-08 19:26:24
Logged In: YES user_id=32170 These tests used to work. They were broken (together with exec-18.1) with the recent test suite/tcltest changes.
dgpplain2002-07-09 03:44:03
Logged In: YES user_id=80530 committed fix to HEAD, bumping to tcltest 2.2.1. Please test.
Log in (anonymous is fine) to add a comment.