You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/09/05 08:16:49 UTC

[GitHub] [apisix] Yiyiyimu opened a new issue #2172: bug: check-plugins-code not correctly configured

Yiyiyimu opened a new issue #2172:
URL: https://github.com/apache/apisix/issues/2172


   ### Issue description
   Currently check-plugins-code.sh use `sh` rather than `bash` so it would output errors as following.
   
   ### What's the actual result?
   ```
   + sudo sh ./utils/check-plugins-code.sh
   apisix/plugins/authz-keycloak.lua
   ./utils/check-plugins-code.sh: 23: ./utils/check-plugins-code.sh: [[: not found
   passed.
   ./utils/check-plugins-code.sh: 24: ./utils/check-plugins-code.sh: [[: not found
   ./utils/check-plugins-code.sh: 23: ./utils/check-plugins-code.sh: [[: not found
   ./utils/check-plugins-code.sh: 24: ./utils/check-plugins-code.sh: [[: not found
   passed.
   apisix/plugins/basic-auth.lua
   ./utils/check-plugins-code.sh: 23: ./utils/check-plugins-code.sh: [[: not found
   passed.
   ./utils/check-plugins-code.sh: 24: ./utils/check-plugins-code.sh: [[: not found
   ./utils/check-plugins-code.sh: 23: ./utils/check-plugins-code.sh: [[: not found
   passed.
   ./utils/check-plugins-code.sh: 24: ./utils/check-plugins-code.sh: [[: not found
   apisix/plugins/batch-requests.lua
   ./utils/check-plugins-code.sh: 23: ./utils/check-plugins-code.sh: [[: not found
   passed.
   ./utils/check-plugins-code.sh: 24: ./utils/check-plugins-code.sh: [[: not found
   ./utils/check-plugins-code.sh: 23: ./utils/check-plugins-code.sh: [[: not found
   ./utils/check-plugins-code.sh: 24: ./utils/check-plugins-code.sh: [[: not found
   passed.
   ...
   ```
   
   
   ### What's the expected result?
   ```
   all passed
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] moonming closed issue #2172: bug: check-plugins-code not correctly configured

Posted by GitBox <gi...@apache.org>.
moonming closed issue #2172:
URL: https://github.com/apache/apisix/issues/2172


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org