cloudflare / lua-resty-logger-socket

Raw-socket-based Logger Library for Nginx (based on ngx_lua)
488 stars 130 forks source link

Use Test::Nginx::Socket::Lua instead of Test::Nginx::Socket in the test suite #4

Closed agentzh closed 10 years ago

agentzh commented 11 years ago

Please use Test;:Nginx::Socket::Lua instead of Test::Nginx::Socket so that we can run the test suite with lua-resty-core easily by specifying the system environment variable

export TEST_NGINX_INIT_BY_LUA="package.path = '/path/to/lua-resty-core/lib/?.lua;' .. (package.path or '') require 'resty.core'"