Closed utix closed 2 years ago
I am new to lua..getting this error while running make test..anyone have idea?
make test PATH=/usr/local/openresty/nginx/sbin:$PATH prove -I../test-nginx/lib -r t t/sanity.t .. nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 nginx: [emerg] unknown directive "lua_package_path" in /root/lua-resty-cookie/t/servroot/conf/nginx.conf:26 Bailout called. Further testing stopped: TEST 8: remove duplicated cookies in cookie:set - Cannot start nginx using command "nginx -p /root/lua-resty-cookie/t/servroot/ -c /root/lua-resty-cookie/t/servroot/conf/nginx.conf > /dev/null" (status code 256). FAILED--Further testing stopped: TEST 8: remove duplicated cookies in cookie:set - Cannot start nginx using command "nginx -p /root/lua-resty-cookie/t/servroot/ -c /root/lua-resty-cookie/t/servroot/conf/nginx.conf > /dev/null" (status code 256). make: *** [Makefile:17: test] Error 255
From master
Using git bisect
a2cb7798133d891510bd37340390314644083da9 is the first bad commit
a2cb7798133d891510bd37340390314644083da9 is the commit adding a test but not updating
plan tests