membphis commented on a change in pull request #2641:
URL: https://github.com/apache/apisix/pull/2641#discussion_r519594799
##########
File path: .travis/apisix_cli_test.sh
##########
@@ -447,17 +447,17 @@ git checkout conf/config.yaml
make init
-count=`grep "ssl_session_tickets off;" conf/nginx.conf || true`
-if [ $count -ne 1 ]; then
+count=`grep "ssl_session_tickets off;" conf/nginx.conf | wc -l `
Review comment:
we can use this way:
https://github.com/apache/apisix/blob/8ed24711a6c659fa8040310a24e86091d104a699/.travis/apisix_cli_test.sh#L122
----------------------------------------------------------------
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:
[email protected]