Blob Blame History Raw
From c00758199bbca387372d4910b60a1aaf0987a001 Mon Sep 17 00:00:00 2001
From: Jun Aruga <jaruga@redhat.com>
Date: Wed, 9 Aug 2017 16:37:17 +0200
Subject: [PATCH] Fix failed tests for "rake test:integration".

---
 test/shell/t1.rb      | 2 +-
 test/shell/t2_conf.rb | 2 +-
 test/shell/t3.rb      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/shell/t1.rb b/test/shell/t1.rb
index ce2f3e0c..a79e8fe1 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 47d58e7e..d4de7ff7 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 2d48bca3..e9f566c4 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"