Skip to content

Commit 7f948a6

Browse files
committed
moved test.sock to hidden file
1 parent 398fe5c commit 7f948a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/14-host-header.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Host: 127.0.0.1:8081
144144
local http = require "resty.http"
145145
local httpc = http.new()
146146

147-
local res, err = httpc:connect("unix:test.sock")
147+
local res, err = httpc:connect("unix:.test.sock")
148148
if not res then
149149
ngx.log(ngx.ERR, err)
150150
end
@@ -157,7 +157,7 @@ Host: 127.0.0.1:8081
157157
end
158158
}
159159
}
160-
--- tcp_listen: test.sock
160+
--- tcp_listen: .test.sock
161161
--- tcp_reply: OK
162162
--- request
163163
GET /a

0 commit comments

Comments
 (0)