Displaying 1 result from an estimated 1 matches for "t_plan".
Did you mean:
l_plan
2011 Jan 06
1
[PATCH] close client socket after closing response body
...nd uncork socket immediately, no keepalive
rescue => e
handle_error(client, e)
end
diff --git a/t/t0018-write-on-close.sh b/t/t0018-write-on-close.sh
new file mode 100755
index 0000000..3afefea
--- /dev/null
+++ b/t/t0018-write-on-close.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+. ./test-lib.sh
+t_plan 4 "write-on-close tests for funky response-bodies"
+
+t_begin "setup and start" && {
+ unicorn_setup
+ unicorn -D -c $unicorn_config write-on-close.ru
+ unicorn_wait_start
+}
+
+t_begin "write-on-close response body succeeds" && {
+ test xGoodbye = x&qu...