about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--t/t0300-no-default-middleware.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/t0300-no-default-middleware.sh b/t/t0300-no-default-middleware.sh
index c017c16..779dc02 100644
--- a/t/t0300-no-default-middleware.sh
+++ b/t/t0300-no-default-middleware.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 . ./test-lib.sh
-t_plan 2 "test the -N / --no-default-middleware option"
+t_plan 3 "test the -N / --no-default-middleware option"
 
 t_begin "setup and start" && {
         unicorn_setup
@@ -12,4 +12,9 @@ t_begin "check exit status with Rack::Lint not present" && {
         test 42 -eq "$(curl -sf -o/dev/null -w'%{http_code}' http://$listen/)"
 }
 
+t_begin "killing succeeds" && {
+        kill $unicorn_pid
+        check_stderr
+}
+
 t_done