diff options
author | dgp <dgp@users.sourceforge.net> | 2017-06-19 18:26:10 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-06-19 18:26:10 (GMT) |
commit | 4c05a54b1b27ac42a780c26a7fba1eb6327ddc9d (patch) | |
tree | afe8f9751a038f3815ed9ed6a86c2cfbde28e54d /tests | |
parent | af6005aab08877b0a6182f85622a1e69720c2fc6 (diff) | |
parent | ba1388e7ae69b88d941819008f9a3d774eb6002b (diff) | |
download | tcl-4c05a54b1b27ac42a780c26a7fba1eb6327ddc9d.zip tcl-4c05a54b1b27ac42a780c26a7fba1eb6327ddc9d.tar.gz tcl-4c05a54b1b27ac42a780c26a7fba1eb6327ddc9d.tar.bz2 |
merge novem
Diffstat (limited to 'tests')
-rw-r--r-- | tests/http.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/http.test b/tests/http.test index 210c2fb..a12033f 100644 --- a/tests/http.test +++ b/tests/http.test @@ -589,13 +589,13 @@ test http-4.15 {http::Event} -body { catch {http::cleanup $token} } -returnCodes 1 -match glob -result "couldn't open socket*" test http-4.16 {Leak with Close vs Keepalive (bug [6ca52aec14]} -body { - set before [chan names] + set before [lsort [chan names]] set token [http::geturl $url -headers {X-Connection keep-alive}] http::cleanup $token update - set after [chan names] - expr {$before eq $after} -} -result 1 + set after [lsort [chan names]] + expr {$before eq $after ? "ok" : "{$before} is not {$after}"} +} -result ok test http-5.1 {http::formatQuery} { http::formatQuery name1 value1 name2 "value two" |