about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-06-29 07:19:32 +0000
committerEric Wong <normalperson@yhbt.net>2011-06-29 07:19:32 +0000
commit19f798301ac1884f423640efafb277b071bb5439 (patch)
tree472c4e62378be7295d903f76dd3535cbaafe4b51 /test
parent38672501206c9e64d241e3d8571f70b198f0c1e5 (diff)
downloadunicorn-19f798301ac1884f423640efafb277b071bb5439.tar.gz
The testcase for this was broken, too, so we didn't notice
this :<

Reported-by: ghazel@gmail.com on the Rainbows! mailing list,
http://mid.gmane.org/BANLkTi=oQXK5Casq9SuGD3edeUrDPvRm3A@mail.gmail.com
Diffstat (limited to 'test')
-rw-r--r--test/exec/test_exec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/exec/test_exec.rb b/test/exec/test_exec.rb
index 0f6b083..8c33457 100644
--- a/test/exec/test_exec.rb
+++ b/test/exec/test_exec.rb
@@ -516,7 +516,7 @@ EOF
     File.unlink(tmp.path)
     ucfg = Tempfile.new('unicorn_test_config')
     ucfg.syswrite("listen '#@addr:#@port'\n")
-    ucfg.syswrite("before_fork { |s,w|\n")
+    ucfg.syswrite("after_fork { |s,w|\n")
     ucfg.syswrite("  s.listen('#{tmp.path}', :backlog => 5, :sndbuf => 8192)\n")
     ucfg.syswrite("  s.listen('#@addr:#{port2}', :rcvbuf => 8192)\n")
     ucfg.syswrite("\n}\n")