diff --git a/test/shell/t1.rb b/test/shell/t1.rb index ce2f3e0c8b..a79e8fe12c 100644 --- a/test/shell/t1.rb +++ b/test/shell/t1.rb @@ -1,4 +1,4 @@ -system "ruby -rubygems -I../../lib ../../bin/puma -p 10102 -C t1_conf.rb ../hello.ru &" +system "ruby -rubygems -I../../lib ../../bin/puma -p 10102 -C t1_conf.rb ../rackup/hello.ru &" sleep 5 system "curl http://localhost:10102/" diff --git a/test/shell/t2_conf.rb b/test/shell/t2_conf.rb index 47d58e7e2f..d4de7ff704 100644 --- a/test/shell/t2_conf.rb +++ b/test/shell/t2_conf.rb @@ -2,5 +2,5 @@ stdout_redirect "t2-stdout" pidfile "t2-pid" bind "tcp://0.0.0.0:10103" -rackup File.expand_path('../hello.ru', File.dirname(__FILE__)) +rackup File.expand_path('../rackup/hello.ru', File.dirname(__FILE__)) daemonize diff --git a/test/shell/t3.rb b/test/shell/t3.rb index 2d48bca3f0..e9f566c4c2 100644 --- a/test/shell/t3.rb +++ b/test/shell/t3.rb @@ -1,4 +1,4 @@ -system "ruby -rubygems -I../../lib ../../bin/puma -p 10102 -C t3_conf.rb ../hello.ru &" +system "ruby -rubygems -I../../lib ../../bin/puma -p 10102 -C t3_conf.rb ../rackup/hello.ru &" sleep 5 worker_pid_was_present = File.file? "t3-worker-2-pid"