Skip to content

Commit

Permalink
Remove -e option in echo when opening test shell session
Browse files Browse the repository at this point in the history
The last commit included `-e` options to `echo` by mistake, and
deviated from the other `echo` usage elsewhere in the `test/run.sh` script.

This commit just removes the `-e`.
  • Loading branch information
Justin Griffin committed Nov 25, 2021
1 parent 7435979 commit c098aa6
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,15 @@ runTests() {

openShellSession() {
echo "${icon_shell_session} ${blue}Opening${reset} shell session in ${yellow}${TEST_IMAGE}${reset} container ..."
echo -e "\nUsage:"
echo -e " bats <tests-to-run>"
echo -e "Examples:"
echo -e " bats test - run all tests"
echo -e " bats test/check.bats - run all tests for 'check'"
echo -e " bats test/in.bats - run all tests for 'in'"
echo -e " bats test/out.bats - run all tests for 'out'"
echo -e ""
echo ""
echo "Usage:"
echo " bats <tests-to-run>"
echo "Examples:"
echo " bats test - run all tests"
echo " bats test/check.bats - run all tests for 'check'"
echo " bats test/in.bats - run all tests for 'in'"
echo " bats test/out.bats - run all tests for 'out'"
echo ""
docker run --rm -it -v ${PROJECT_HOME}:/code -w /code -e SUT_ASSETS_DIR=/code/assets --entrypoint /bin/bash ${TEST_IMAGE}
TEST_RESULT=shell
}
Expand Down

0 comments on commit c098aa6

Please sign in to comment.