Skip to content

Commit

Permalink
fix: updated cli_test.sh according reg ex (#1696)
Browse files Browse the repository at this point in the history
verifying the version number,
  • Loading branch information
iamayushdas committed Apr 1, 2021
1 parent aa5ef19 commit 846f2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/test/shell/cli_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 846f2c1

Please sign in to comment.