lua-resty-lrucache

Edit Package lua-resty-lrucache
https://github.com/openresty/lua-resty-lrucache

This library implements a simple LRU cache for OpenResty and the ngx_lua module.

Refresh
Refresh
Source Files
Filename Size Changed
lua-resty-lrucache-0.13.tar.gz 0000017429 17 KB
lua-resty-lrucache.changes 0000000158 158 Bytes
lua-resty-lrucache.spec 0000001413 1.38 KB
Revision 1 (latest revision is 6)
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 1171862 from Илья Индиго's avatar Илья Индиго (13ilya) (revision 1)
Even after creating the perl-Test-Nginx package, the tests still don't run.
You can run the pm file from the t directory as I did before, but it doesn't run the tests, it just does NOT return errors at the end of initialization.

The make file specifies the following

OPENRESTY_PREFIX=/usr/local/openresty
....
test: all
	PATH=$(OPENRESTY_PREFIX)/nginx/sbin:$$PATH prove -I../test-nginx/lib -r t

That is, I can NOT even override OPENRESTY_PREFIX, which is hardcoded and I have no idea where to get the test-nginx directory from.

Apparently these tests are for internal testing only.
If upstream writes how to run the tests properly, I'll add them, but it's better not to run them at all than to create the appearance of testing!

In any case, tests for noarch with empty %build section are not necessary.
I test them in a real environment with nginx-module-lua and I have lua-resty libraries working.
Comments 0
openSUSE Build Service is sponsored by