|
2004-06-02
| ||
| 02:15 | • Closed ticket [964270ffff]: new iogt.test failures plus 7 other changes artifact: b770d512d9 user: davygrvy | |
| 01:22 | • Ticket [964270ffff]: 4 changes artifact: 65aa0804ae user: davygrvy | |
| 00:59 | • Ticket [964270ffff]: 4 changes artifact: 3fcfba4f12 user: dgp | |
| 00:53 | • Ticket [964270ffff]: 4 changes artifact: 74fe8425d9 user: dgp | |
| 00:40 | • Ticket [964270ffff]: 4 changes artifact: c89217977c user: davygrvy | |
| 00:30 | • Ticket [964270ffff]: 4 changes artifact: 6555208897 user: dgp | |
| 00:28 | • Ticket [964270ffff]: 4 changes artifact: a469b537ef user: davygrvy | |
|
2004-06-01
| ||
| 22:06 | • Ticket [964270ffff]: 6 changes artifact: 737bb8350e user: andreas_kupries | |
| 13:31 | • New ticket [964270ffff]. artifact: 8a0f0fc9b5 user: dgp | |
new iogt.test failures
Closed / Fixed964270ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-06-01 13:31:30
==== iogt-2.1 basic I/O, operation trail FAILED
==== Contents of test case:
set fin [open $path(dummy) r]
set fout [open $path(dummyout) w]
set ain [list] ; set aout [list]
audit_ops ain -attach $fin
audit_ops aout -attach $fout
fconfigure $fin -buffersize 10
fconfigure $fout -buffersize 5
fcopy $fin $fout
close $fin
close $fout
set res "[join $ain \n]\n--------\n[join $aout \n]"
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: bad value for -buffersize: must not be
less than 10 or greater than 1Mbyte.
while executing
"fconfigure $fout -buffersize 5"
("uplevel" body line 10)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== iogt-2.1 FAILED
==== iogt-2.2 basic I/O, data trail FAILED
==== Contents of test case:
set fin [open $path(dummy) r]
set fout [open $path(dummyout) w]
set ain [list] ; set aout [list]
audit_flow ain -attach $fin
audit_flow aout -attach $fout
fconfigure $fin -buffersize 10
fconfigure $fout -buffersize 5
fcopy $fin $fout
close $fin
close $fout
set res "[join $ain \n]\n--------\n[join $aout \n]"
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: bad value for -buffersize: must not be
less than 10 or greater than 1Mbyte.
while executing
"fconfigure $fout -buffersize 5"
("uplevel" body line 10)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== iogt-2.2 FAILED
andreas_kupriesplain2004-06-01 22:06:55
Logged In: YES user_id=75003 Reassigned to david, this seems to originate in his latest changes.
davygrvyplain2004-06-02 00:28:33
Logged In: YES user_id=7549 Those buffersizes are invalid. I'll fix the test suite.
dgpplain2004-06-02 00:30:33
Logged In: YES user_id=80530 I'd still like to see the change reverted. Who knows how many scripts depend on silent truncation of buffersize requests outside the valid range?
davygrvyplain2004-06-02 00:40:43
Logged In: YES user_id=7549 depending on silent behavior is a dangerous dependancy. Try this, then scratch your head why: fconfigure stdout -buffersize 0x400
dgpplain2004-06-02 00:53:41
Logged In: YES user_id=80530 Ah, I see. I'm fine with the conversion to use Tcl_GetInt and the error reporting when a non-integer value is provided. I'm opposed to the removal of silent range truncation only. That would take care of the tests, and any semi-sensible scripts. I don't want to add hard errors on buffersizes outside the limits mostly because it's not clear to me why the limits are imposed in the first place. I'd rather not enshrine them.
dgpplain2004-06-02 00:59:39
Logged In: YES user_id=80530 see RFE 558932
davygrvyplain2004-06-02 01:22:38
Logged In: YES user_id=7549 I'll pull-out the range verification, and revert the test suite mods I just did, but leave the Tcl_GetInt in place of atoi. The silent truncation still scares me.
davygrvyplain2004-06-02 02:15:33
Logged In: YES user_id=7549 test suite returned to "as before", failures fixed.
Log in (anonymous is fine) to add a comment.