Sha256: a96a6fc4817d6b2b58d46ee01649a28c64aa4a220717c553a9a0fc035c947c8d
Contents?: true
Size: 532 Bytes
Versions: 32
Compression:
Stored size: 532 Bytes
Contents
#!/bin/sh . ./test-lib.sh t_plan 5 "rack.hijack tests (Rack 1.5+ (Rack::VERSION >= [ 1,2]))" t_begin "setup and start" && { unicorn_setup unicorn -D -c $unicorn_config hijack.ru unicorn_wait_start } t_begin "check request hijack" && { test "xrequest.hijacked" = x"$(curl -sSfv http://$listen/hijack_req)" } t_begin "check response hijack" && { test "xresponse.hijacked" = x"$(curl -sSfv http://$listen/hijack_res)" } t_begin "killing succeeds" && { kill $unicorn_pid } t_begin "check stderr" && { check_stderr } t_done
Version data entries
32 entries across 32 versions & 5 rubygems