You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ss...@apache.org on 2020/07/16 17:38:25 UTC

[incubator-apisix] branch sshniro-patch-2 created (now 91104f6)

This is an automated email from the ASF dual-hosted git repository.

sshniro pushed a change to branch sshniro-patch-2
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git.


      at 91104f6  Improve how to test instructions

This branch includes the following new commits:

     new 91104f6  Improve how to test instructions

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-apisix] 01/01: Improve how to test instructions

Posted by ss...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sshniro pushed a commit to branch sshniro-patch-2
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git

commit 91104f6044c4df55bec4614bcdb142ab6c4ea642
Author: Nirojan Selvanathan <ss...@gmail.com>
AuthorDate: Thu Jul 16 19:38:00 2020 +0200

    Improve how to test instructions
---
 doc/how-to-build.md | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/doc/how-to-build.md b/doc/how-to-build.md
index b1a276e..58ff151 100644
--- a/doc/how-to-build.md
+++ b/doc/how-to-build.md
@@ -117,10 +117,21 @@ Makefile rules:
 
 ### Troubleshoot
 
-If you run in to an issue `Error unknown directive "lua_package_path" in /API_ASPIX/incubator-apisix/t/servroot/conf/nginx.conf`
+**Set Nginx Path**
+
+- If you run in to an issue `Error unknown directive "lua_package_path" in /API_ASPIX/incubator-apisix/t/servroot/conf/nginx.conf`
 make sure to set openresty as default nginx. And export the path as below.
 
-* export PATH=/usr/local/openresty/nginx/sbin:$PATH
+    - Linux default installation path:
+        * export PATH=/usr/local/openresty/nginx/sbin:$PATH
+    - OSx default installation path via homebrew:
+        * export PATH=/usr/local/opt/openresty/nginx/sbin:$PATH
+
+**Run Individual Test Cases**
+
+- Use the following command to run test cases constratined to a file:
+    - prove -Itest-nginx/lib -r t/plugin/openid-connect.t
+
 
 ## 5. Update Admin API token to protect Apache APISIX