kwanhur commented on code in PR #7006:
URL: https://github.com/apache/apisix/pull/7006#discussion_r874813341
##########
t/cli/test_main.sh:
##########
@@ -706,6 +706,16 @@ fi
./bin/apisix stop
echo "pass: ignore stale nginx.pid"
+# check running when run repeatedly
Review Comment:
I want to cover it with `Operation not permitted` case of `sudo make run;
make run`, previous runs as root, but it lacks some dependency, like the below
```shell
+ sudo make run
[ info ] run -> [ Start ]
/home/runner/work/apisix/apisix/bin/apisix start
lua ./apisix/cli/apisix.lua start
lua: error loading module 'ssl.core' from file
'/usr/local/lib/lua/5.1/ssl.so':
/usr/local/lib/lua/5.1/ssl.so: undefined symbol: luaL_setfuncs
stack traceback:
```
Any other option to mock?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]