yahns Ruby server user/dev discussion
 help / color / mirror / code / Atom feed
* [PATCH] test/test_proxy_pass: rename test name, too
@ 2015-03-26  2:36 Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2015-03-26  2:36 UTC (permalink / raw)
  To: yahns-public

This is no longer a part of the "extras" section
---
 test/test_proxy_pass.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_proxy_pass.rb b/test/test_proxy_pass.rb
index 530b53c..e2b8986 100644
--- a/test/test_proxy_pass.rb
+++ b/test/test_proxy_pass.rb
@@ -3,7 +3,7 @@
 require_relative 'server_helper'
 require 'json'
 
-class TestExtrasProxyPass < Testcase
+class TestProxyPass < Testcase
   ENV["N"].to_i > 1 and parallelize_me!
   include ServerHelper
 
-- 
EW


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] test/test_proxy_pass: rename test name, too
@ 2015-04-01  0:20 Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2015-04-01  0:20 UTC (permalink / raw)
  To: yahns-public

This is no longer a part of the "extras" section
---
 test/test_proxy_pass.rb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/test/test_proxy_pass.rb b/test/test_proxy_pass.rb
index 530b53c..5398b29 100644
--- a/test/test_proxy_pass.rb
+++ b/test/test_proxy_pass.rb
@@ -3,7 +3,7 @@
 require_relative 'server_helper'
 require 'json'
 
-class TestExtrasProxyPass < Testcase
+class TestProxyPass < Testcase
   ENV["N"].to_i > 1 and parallelize_me!
   include ServerHelper
 
@@ -44,7 +44,6 @@ class TestExtrasProxyPass < Testcase
     pid = mkserver(cfg) do
       @srv.autoclose = @srv2.autoclose = false
       ENV["YAHNS_FD"] = "#{@srv.fileno},#{@srv2.fileno}"
-      $LOAD_PATH.unshift "#{Dir.pwd}/extras"
       require 'yahns/proxy_pass'
       cfg.instance_eval do
         app(:rack, Yahns::ProxyPass.new("unix:#{unix_path}:/$fullpath")) do
@@ -107,7 +106,6 @@ class TestExtrasProxyPass < Testcase
     err, cfg, host, port = @err, Yahns::Config.new, @srv.addr[3], @srv.addr[1]
     host2, port2 = @srv2.addr[3], @srv2.addr[1]
     pid = mkserver(cfg) do
-      $LOAD_PATH.unshift "#{Dir.pwd}/extras"
       require 'yahns/proxy_pass'
       @srv2.close
       cfg.instance_eval do
-- 
2.3.1.168.g3dc290c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-01  0:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-01  0:20 [PATCH] test/test_proxy_pass: rename test name, too Eric Wong
  -- strict thread matches above, loose matches on Subject: below --
2015-03-26  2:36 Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/yahns.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).