Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ae9cdf5dfc61f697d4478c073a70f0f550e639c5
Ticket: 575844ffffffffffffffffffffffffffffffffff
http*.test need writable .
User & Date: dgp on 2002-07-01 06:53:12
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    See Tcl Bug 575817.
    
    http.test and httpold.test fail:
    
    http.test
    Test file error: error copying
    "/tmp/dist/sandbox/tcl8.4b1/tests/httpd" to
    "/tmp/dist/sandbox/tcl8.4b1/unix/httpd": permission denied
        while executing
    "file copy $origFile $newFile"
        invoked from within
    "if {![file exists $newFile]} {
        file copy $origFile $newFile
        set removeHttpd 1
    }"
        (file "/tmp/dist/sandbox/tcl8.4b1/tests/http.test"
    line 52)
    httpold.test
    
    ==== http-4.4 httpEvent FAILED
    ==== Contents of test case:
    
        set out [open testfile w]
        set token [http_get $url -channel $out]
        close $out
        set in [open testfile]
        set x [read $in]
        close $in
        file delete testfile
        set x
    
    ---- Result was:
    couldn't open "testfile": permission denied
    ---- Result should have been (exact matching):
    <html><head><title>HTTP/1.0 TEST</title></head><body>
    <h1>Hello, World!</h1>
    <h2>GET /a/b/c</h2>
    </body></html>
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ==== http-4.4 FAILED
    
    
    ==== http-4.5 httpEvent FAILED
    ==== Contents of test case:
    
        set out [open testfile w]
        set token [http_get $url -channel $out]
        close $out
        upvar #0 $token data
        file delete testfile
        expr $data(currentsize) == $data(totalsize)
    
    ---- Result was:
    couldn't open "testfile": permission denied
    ---- Result should have been (exact matching):
    1
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ==== http-4.5 FAILED
    
    
    ==== http-4.6 httpEvent FAILED
    ==== Contents of test case:
    
        set out [open testfile w]
        set token [http_get $binurl -channel $out]
        close $out
        set in [open testfile]
        fconfigure $in -translation binary
        set x [read $in]
        close $in
        file delete testfile
        set x
    
    ---- Result was:
    couldn't open "testfile": permission denied
    ---- Result should have been (exact matching):
    This is binary data
    more
    more
    morenulllinux.local:8010/binary
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ==== http-4.6 FAILED
    
    
  4. foundin changed to: "obsolete: 8.4a5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "29. http Package"
  10. title changed to: "http*.test need writable ."
  11. type changed to: "Bug"