tests: sanity.t: renamed to t/000-sanity.t and added '.' in lib path.

This commit is contained in:
Thibault Charbonnier 2019-09-24 12:08:42 -07:00 committed by Thibault Charbonnier
parent 4995101388
commit cc79822109
3 changed files with 3 additions and 3 deletions

View File

@ -66,4 +66,4 @@ script:
- export PATH=$OPENRESTY_PREFIX/bin:$OPENRESTY_PREFIX/nginx/sbin:$PATH - export PATH=$OPENRESTY_PREFIX/bin:$OPENRESTY_PREFIX/nginx/sbin:$PATH
- nginx -V - nginx -V
- ldd `which nginx`|grep -E 'luajit|ssl|pcre' - ldd `which nginx`|grep -E 'luajit|ssl|pcre'
- prove -I. -r t/ - prove -r t/

View File

@ -4,7 +4,7 @@ all:
./util/mirror-tarballs ./util/mirror-tarballs
test: test:
prove -I. -I../test-nginx/lib -r t prove -I../test-nginx/lib -r t
try-luajit: all try-luajit: all
cd openresty-`./util/ver` && ./configure --with-luajit cd openresty-`./util/ver` && ./configure --with-luajit

View File

@ -1,5 +1,5 @@
# vi:ft= # vi:ft=
use lib '.';
use t::Config; use t::Config;
plan tests => 273; plan tests => 273;