From 846f2c14d2343d9aa79dbe332e699850c92fe161 Mon Sep 17 00:00:00 2001 From: Ayush das Date: Thu, 1 Apr 2021 06:41:08 +0530 Subject: [PATCH] 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 ee680746cc..9ff655a605 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