diff options
-rw-r--r-- | test/test_input.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_input.rb b/test/test_input.rb index 404263d..fe09a9a 100644 --- a/test/test_input.rb +++ b/test/test_input.rb @@ -46,6 +46,7 @@ class TestInput < Testcase c.write "PUT / HTTP/1.1\r\nContent-Length: 666\r\n\r\n" assert_equal c, c.wait(6) Timeout.timeout(30) { assert_match %r{HTTP/1\.1 408 }, c.read } + c.close ensure quit_wait(pid) end |