Skip to content
Tcl Source Code View Ticket
Login

View Ticket

io.test failed

Closed / Fixed748955ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 23 years ago
Descriptionplain2003-06-04 15:58:10
Hi,
I have compiled tcl8.4.3 on Tru64Unix (formerly OSF1)
and make test fails in many cases. Would someone
inspect the output? Thanks!

I used cc/cxx from vendor, latest version, C*FLAGS"-O2
-arch ev56" if that matters.


The original bugreport is at
https://sourceforge.net/tracker/?func=detail&atid=110894&aid=748804&group_id=10894



==== io-53.5 CopyData: error during fcopy FAILED
==== Contents of test case:

    variable fcopyTestDone
    set listen [socket -server [namespace code
FcopyTestAccept] 0]
    set in [open $thisScript];# 126 K
    set out [socket 127.0.0.1 [lindex [fconfigure
$listen -sockname] 2]]
    catch {unset fcopyTestDone}
    close $listen;# This means the socket open never
really succeeds
    fcopy $in $out -command [namespace code FcopyTestDone]
    variable fcopyTestDone
    if ![info exists fcopyTestDone] {
vwait [namespace which -variable fcopyTestDone];#
The error occurs here in the b.g.
    }
    close $in
    close $out
    set fcopyTestDone;# 1 for error condition

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== io-53.5 FAILED
dgpplain2003-06-04 23:06:56
Logged In: YES 
user_id=80530


possible duplicate of 219418 ?
mmokrejsplain2003-12-03 21:04:19
Logged In: YES 
user_id=696559

Still happens on same host with tcl8.4.5:

$ ./tcltest ../tests/io.test -verbose e

==== io-53.5 CopyData: error during fcopy FAILED
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: 
    while executing
"close $out"
    ("uplevel" body line 14)
    invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== io-53.5 FAILED

io.test:        Total   457     Passed  448     Skipped 8  
    Failed  1
Number of tests skipped for each constraint:
        1       emptyTest
        1       largefileSupport
        1       macOnly
        2       nonPortable
        2       pcOnly
        1       umask2

$
mmokrejsplain2004-05-19 16:13:21
Logged In: YES 
user_id=696559

Fixed in current cvs as of now on OSF1/Tru64Unix5.1A.
dkf Closed ticket [748955ffff]. [History diff]2004-05-20 16:26:20
Log in (anonymous is fine) to add a comment.