test/test_proxy_pass.rb in yahns-1.12.1 vs test/test_proxy_pass.rb in yahns-1.12.2
- old
+ new
@@ -175,10 +175,10 @@
@srv2.close if defined?(@srv2) && !@srv2.closed?
server_helper_teardown
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]
host2, port2 = @srv2.addr[3], @srv2.addr[1]
pid = mkserver(cfg) do