about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-01-05 16:10:17 -0800
committerEric Wong <normalperson@yhbt.net>2010-01-05 16:10:17 -0800
commit841f967666292f634c6af485f7ac452f36cc2028 (patch)
tree4dba86c2fb545a57c7728d1275d276e12d3b26d5 /test
parent40924ca5f42a5708159ac27b992805f24ecbae9b (diff)
parentfe005f50efc8db5b9f4b2387b3b2c42f12d7c2c0 (diff)
downloadunicorn-841f967666292f634c6af485f7ac452f36cc2028.tar.gz
* ready_pipe:
  launcher: no point in sync-ing $stdin
  launcher: fix compatibility with other servers
  clarify errors when listeners fail to bind
  launcher: descriptive error message on startup failure
  Avoid leaking ready pipe file descriptor to workers
  exit with failure if master dies when daemonized
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