Skip to content
Tcl Source Code View Ticket
Login

View Ticket

When compiling on Windows NT 4.0 test set fails in ioCmd.tes

Closed / Fixed218800ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:05:37
OriginalBugID: 2154 Bug
Version: 8.1.1
SubmitDate: '1999-06-03'
LastModified: '1999-08-31'
Severity: LOW
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
Machine: X86
FixedDate: '1999-08-31'
FixedInVersion: 8.2
ClosedDate: '2000-10-25'


Name:
Lindsay Gill

ReproducibleScript:
When compiling 'test' from makefile the compilation fails at ioCmd.test

ObservedBehavior:
ioCmd.test
    ==== iocmd-1.5 puts command FAILED
    ==== Contents of test case:
       list [catch {puts stdin hello} msg] $msg
    ---- Result was:
    1 {can not find channel named "stdin"}
    ---- Result should have been:
    1 {channel "stdin" wasn't opened for writing}
    ==== iocmd-1.5 FAILED
    ==== iocmd-2.4 flush command FAILED
    ==== Contents of test case:
       list [catch {flush stdin} msg] $msg
    ---- Result was:
    1 {can not find channel named "stdin"}
    ---- Result should have been:
    1 {channel "stdin" wasn't opened for writing}
    ==== iocmd-2.4 FAILED
    ==== iocmd-4.9 read command FAILED
    ==== Contents of test case:
        list [catch {read stdin foo} msg] $msg $errorCode
    ---- Result was:
    1 {can not find channel named "stdin"} NONE
    ---- Result should have been:
    1 {bad argument "foo": should be "nonewline"} NONE
    ==== iocmd-4.9 FAILED
    ==== iocmd-5.3 seek command FAILED
    ==== Contents of test case:
        list [catch {seek stdin gugu} msg] $msg
    ---- Result was:
    1 {can not find channel named "stdin"}
    ---- Result should have been:
    1 {expected integer but got "gugu"}
    ==== iocmd-5.3 FAILED
    ==== iocmd-5.4 seek command FAILED
    ==== Contents of test case:
        list [catch {seek stdin 100 gugu} msg] $msg
    ---- Result was:
    1 {can not find channel named "stdin"}
    ---- Result should have been:
    1 {bad origin "gugu": must be start, current, or end}
    ==== iocmd-5.4 FAILED
    ==== iocmd-8.5 fconfigure command FAILED
    ==== Contents of test case:
        list [catch {fconfigure stdin -buffering froboz} msg] $msg
    ---- Result was:
    1 {can not find channel named "stdin"}
    ---- Result should have been:
    1 {bad value for -buffering: must be one of full, line, or none}
    ==== iocmd-8.5 FAILED
    ==== iocmd-8.6 fconfigure command FAILED
    ==== Contents of test case:
        list [catch {fconfigure stdin -translation froboz} msg] $msg
    ---- Result was:
    1 {can not find channel named "stdin"}
    ---- Result should have been:
    1 {bad value for -translation: must be one of auto, binary, cr, lf,
    crlf, or platform}
    ==== iocmd-8.6 FAILED
    ==== iocmd-8.14 fconfigure command FAILED
    ==== Contents of test case:
        fconfigure stdin -buffers
    ==== Test generated error:
    can not find channel named "stdin"
    ---- Result should have been:
    4096
    ==== iocmd-8.14 FAILED
    ==== iocmd-10.5 fblocked command FAILED
    ==== Contents of test case:
        fblocked stdin
    ==== Test generated error:
    can not find channel named "stdin"
    ---- Result should have been:
    0
    ==== iocmd-10.5 FAILED
    ==== iocmd-14.6 file id parsing errors FAILED
    ==== Contents of test case:
        list [catch {eof stdin} msg] $msg
    ---- Result was:
    1 {can not find channel named "stdin"}
    ---- Result should have been:
    0 0
    ==== iocmd-14.6 FAILED



This is no longer a problem in 8.2 for NT (IO internals rewritten
for NT in 8.2). 
-- 08/31/1999 hobbs
welch Closed ticket [218800ffff]. [History diff]2000-10-26 08:29:15
dgp Ticket [218800ffff]: 3 changes [History diff]2001-04-23 02:25:52
Log in (anonymous is fine) to add a comment.