Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-06-26
05:54 • Closed ticket [2812355fff]: http11.test clean up error plus 7 other changes artifact: 4ccfdb91e6 user: patthoyts
2009-06-25
19:50 • New ticket [2812355fff]. artifact: 96f41eb1eb user: pointsman

http11.test clean up error

Closed / Fixed2812355fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-06-25 19:50:48
./tcltest ../tests/all.tcl -file http11.test -match _dontmatchanything_  -singleproc 1

aborts with error, after the fix to 2811492:

can't delete "httpd_read": command doesn't exist
    while executing
"rename $p {}"
    ("foreach" body line 2)
    invoked from within
"foreach p {create_httpd httpd_read halt_httpd meta check_crc} {
    rename $p {}
}"


Since no test matches, the proc create_httpd is never called and therefor the proc httpd_read is never created.

This may look like nit-picking, but isn't meant to be. It sometimes happen - even more: it's sometimes useful - to run a test file with no test matching. That shouldn't throw error. http11.test is currently the only one of the HEAD test files, that does, in this situation.
patthoytsplain2009-06-26 05:54:01
allow_comments - 1

fixed
Log in (anonymous is fine) to add a comment.