Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 198cd6be1347d2d8a13caa4d7eb345a67fcee0a7
Ticket: 748961ffffffffffffffffffffffffffffffffff
http.test failed
User & Date: mmokrejs on 2003-06-04 16:06:28
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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
    
    
    NOTE, THAT THIS TEST FAILED ONLY WHEN TEST WAS
    PERFORMED ON AFS FILESYSTEM. WHEN TESTED ON NFS
    FILESYSTEM IT PASSED(IR IT'S NOT REPRODUCIBLE?).
    
    
    ==== http-3.11 http::geturl querychannel with -command
    FAILED
    ==== Contents of test case:
    
        set query foo=bar
        set sep ""
        set i 0
        # Create about 120K of query data
        while {$i < 14} {
            incr i
            append query $sep$query
            set sep &
        }
        set file [makeFile $query outdata]
        set fp [open $file]
    
        proc asyncCB {token} {
            global postResult
            lappend postResult [http::data $token]
        }
        set postResult [list ]
        set t [http::geturl $posturl -querychannel $fp]
        http::wait $t
        set testRes [list [http::status $t] [string length
    $query] [http::data $t]]
    
        # Now do async
        http::cleanup $t
        close $fp
        set fp [open $file]
        set t [http::geturl $posturl -querychannel $fp
    -command asyncCB]
        set postResult [list PostStart]
        http::wait $t
        close $fp
    
        lappend testRes [http::status $t] $postResult
        removeFile outdata
        set testRes
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ==== http-3.11 FAILED
    
    
  4. foundin changed to: "obsolete: 8.4.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mmokrejs"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "http.test failed"
  11. type changed to: "Bug"