http*.test need writable .
Closed / Fixed575844ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-07-01 06:53:12
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
dkf Closed ticket [575844ffff].
[History diff]2002-07-05 17:43:33
Log in (anonymous is fine) to add a comment.