From cc798221092ebfcee8f732ffa2a7eab75976c7b2 Mon Sep 17 00:00:00 2001 From: Thibault Charbonnier Date: Tue, 24 Sep 2019 12:08:42 -0700 Subject: [PATCH] tests: sanity.t: renamed to t/000-sanity.t and added '.' in lib path. --- .travis.yml | 2 +- Makefile | 2 +- t/{sanity.t => 000-sanity.t} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename t/{sanity.t => 000-sanity.t} (99%) diff --git a/.travis.yml b/.travis.yml index 1fcf392..c342885 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,4 +66,4 @@ script: - export PATH=$OPENRESTY_PREFIX/bin:$OPENRESTY_PREFIX/nginx/sbin:$PATH - nginx -V - ldd `which nginx`|grep -E 'luajit|ssl|pcre' - - prove -I. -r t/ + - prove -r t/ diff --git a/Makefile b/Makefile index 7909469..7c8d60b 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ all: ./util/mirror-tarballs test: - prove -I. -I../test-nginx/lib -r t + prove -I../test-nginx/lib -r t try-luajit: all cd openresty-`./util/ver` && ./configure --with-luajit diff --git a/t/sanity.t b/t/000-sanity.t similarity index 99% rename from t/sanity.t rename to t/000-sanity.t index 3938c68..8df8956 100644 --- a/t/sanity.t +++ b/t/000-sanity.t @@ -1,5 +1,5 @@ # vi:ft= - +use lib '.'; use t::Config; plan tests => 273;