about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-12-26 17:04:57 -0800
committerEric Wong <normalperson@yhbt.net>2009-12-26 17:15:11 -0800
commit5eea32764571b721cd1a89cf9ebfa853c621ac9e (patch)
tree7aae0814fe23d06945b92ee9158b3f02bbd37b4b /test
parent643994afcdbd4121c0d131a87052cdd17d40e54f (diff)
downloadunicorn-5eea32764571b721cd1a89cf9ebfa853c621ac9e.tar.gz
This behavior change also means our grandparent (launched
from a controlling terminal or script) will wait until
the master process is ready before returning.

Thanks to IƱaki Baz Castillo for the initial implementations
and inspiration.
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 fc0719b..24ba856 100644
--- a/test/exec/test_exec.rb
+++ b/test/exec/test_exec.rb
@@ -805,7 +805,7 @@ EOF
       exec($unicorn_bin, "-D", "-l#{@addr}:#{@port}", "-c#{ucfg.path}")
     end
     pid, status = Process.waitpid2(pid)
-    assert status.success?, "original process exited successfully"
+    assert ! status.success?, "original process exited successfully"
     sleep 1 # can't waitpid on a daemonized process :<
     assert err.stat.size > 0
   end