Sha256: c3a1a3f347f0bf86387414259f5f551680f79fba2715223fe9878e1f40d5be82

Contents?: true

Size: 355 Bytes

Versions: 2

Compression:

Stored size: 355 Bytes

Contents

system "ruby -rubygems -I../../lib ../../bin/puma -p 10102 -C t1_conf.rb ../hello.ru &"
sleep 5
system "curl http://localhost:10102/"

system "kill `cat t1-pid`"

sleep 1

log = File.read("t1-stdout")

File.unlink "t1-stdout" if File.file? "t1-stdout"
File.unlink "t1-pid" if File.file? "t1-pid"

if log =~ %r!GET / HTTP/1\.1!
  exit 0
else
  exit 1
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puma-simon-3.7.2 test/shell/t1.rb
puma-simon-3.7.1 test/shell/t1.rb