about summary refs log tree commit homepage
path: root/t/listener_names.ru
diff options
context:
space:
mode:
Diffstat (limited to 't/listener_names.ru')
-rw-r--r--t/listener_names.ru4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/listener_names.ru b/t/listener_names.ru
new file mode 100644
index 0000000..edb4e6a
--- /dev/null
+++ b/t/listener_names.ru
@@ -0,0 +1,4 @@
+use Rack::ContentLength
+use Rack::ContentType, "text/plain"
+names = Unicorn.listener_names.inspect # rely on preload_app=true
+run(lambda { |_| [ 200, {}, [ names ] ] })