t/GNUmakefile: cleanup test dependencies
[rainbows.git] / t / t9100.ru
blobed9e1ee1d41355c892e08e99b9a818179a426a62
1 use Rack::ContentLength
2 use Rack::ContentType, 'text/plain'
3 use Rainbows::ThreadTimeout, :timeout => 1
4 run lambda { |env|
5   if env["PATH_INFO"] =~ %r{/([\d\.]+)\z}
6     Rainbows.sleep($1.to_f)
7   end
8   [ 200, [], [ "HI\n" ] ]