Menu

#2362 io.test failed

obsolete: 8.4.3
closed-fixed
5
2004-05-20
2003-06-04
No

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

Discussion

  • Don Porter

    Don Porter - 2003-06-04

    Logged In: YES
    user_id=80530

    possible duplicate of 219418 ?

     
  • Don Porter

    Don Porter - 2003-06-04
    • labels: 104251 --> 25. Channel System
    • assigned_to: dgp --> andreas_kupries
     
  • Martin Mokrejs

    Martin Mokrejs - 2003-12-03

    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

    $

     
  • Martin Mokrejs

    Martin Mokrejs - 2004-05-19

    Logged In: YES
    user_id=696559

    Fixed in current cvs as of now on OSF1/Tru64Unix5.1A.

     
  • Donal K. Fellows

    • status: open --> closed-fixed