test_exec: drop sd_listen_fds emulation test
[unicorn.git] / t / t0301.ru
blobce682136394cdcf2620715d080f5e3b703456df3
1 #\-N --debug
2 run(lambda do |env|
3   case env['PATH_INFO']
4   when '/vars'
5     b = "debug=#{$DEBUG.inspect}\n" \
6         "lint=#{caller.grep(%r{rack/lint\.rb})[0].split(':')[0]}\n"
7   end
8   h = {
9     'content-length' => b.size.to_s,
10     'content-type' => 'text/plain',
11   }
12   [ 200, h, [ b ] ]
13 end)