You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ji...@apache.org on 2021/04/01 01:11:17 UTC

[apisix-dashboard] branch master updated: fix: updated cli_test.sh according reg ex (#1696)

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

jinchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 846f2c1  fix: updated cli_test.sh according reg ex (#1696)
846f2c1 is described below

commit 846f2c14d2343d9aa79dbe332e699850c92fe161
Author: Ayush das <ay...@gmail.com>
AuthorDate: Thu Apr 1 06:41:08 2021 +0530

    fix: updated cli_test.sh according reg ex (#1696)
    
    verifying the version number,
---
 api/test/shell/cli_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/test/shell/cli_test.sh b/api/test/shell/cli_test.sh
index ee68074..9ff655a 100755
--- a/api/test/shell/cli_test.sh
+++ b/api/test/shell/cli_test.sh
@@ -174,7 +174,7 @@ if [[ `grep -c "The manager-api is running successfully\!" ${STDOUT}` -ne '1' ]]
     exit 1
 fi
 
-if [[ `grep -c "${VERSION}" ${STDOUT}` -ne '1' ]]; then
+if [[ `grep -c -w "${VERSION}" ${STDOUT}` -ne '1' ]]; then
     echo "failed: the manager server didn't show started info"
     exit 1
 fi