about summary refs log tree commit homepage
path: root/test/test_proxy_pass.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-02-29 08:18:55 +0000
committerEric Wong <e@80x24.org>2016-02-29 08:22:02 +0000
commit7ee064f52ee740eeafa49089911f6eca18c67e38 (patch)
tree6bf2588b7d3b992d38b7056d8a230367cde479eb /test/test_proxy_pass.rb
parent5fff94f35928feeb9d6bf91087ee7cdbe97ecdb7 (diff)
downloadyahns-7ee064f52ee740eeafa49089911f6eca18c67e38.tar.gz
We should not infinite loop, oops :x
Also, ensure 'yahns' is in the directory in case tests are
SIGKILL-ed and directories are left over.
Diffstat (limited to 'test/test_proxy_pass.rb')
-rw-r--r--test/test_proxy_pass.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_proxy_pass.rb b/test/test_proxy_pass.rb
index f6e0efd..448e480 100644
--- a/test/test_proxy_pass.rb
+++ b/test/test_proxy_pass.rb
@@ -177,7 +177,7 @@ class TestProxyPass < Testcase
   end
 
   def test_unix_socket_no_path
-    tmpdir = Dir.mktmpdir
+    tmpdir = yahns_mktmpdir
     unix_path = "#{tmpdir}/proxy_pass.sock"
     unix_srv = UNIXServer.new(unix_path)
     err, cfg, host, port = @err, Yahns::Config.new, @srv.addr[3], @srv.addr[1]