summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Smith <jack.smith@algorand.com>2021-08-16 15:59:24 -0400
committerJack Smith <jack.smith@algorand.com>2021-08-16 15:59:24 -0400
commitbbb60d4f75cd4414b6a1d911ec5c56dd5df143b8 (patch)
tree0f8b7029762bb2cadbff723c36390a653e5ba2a0
parente00cf470df61e8ec948df7fa98765cee2f245792 (diff)
Fixing more shellcheck things on e2e.shhotfix/typo-in-e2e-sh
-rwxr-xr-xtest/scripts/e2e.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scripts/e2e.sh b/test/scripts/e2e.sh
index e3dfa8ca2..56c57a067 100755
--- a/test/scripts/e2e.sh
+++ b/test/scripts/e2e.sh
@@ -100,7 +100,7 @@ export GOPATH=$(go env GOPATH)
# Change current directory to test/scripts so we can just use ./test.sh to exec.
cd "${SCRIPT_PATH}"
-if [ -z $E2E_TEST_FILTER || $E2E_TEST_FILTER=="SCRIPTS" ]; then
+if [ -z "$E2E_TEST_FILTER" ] || [ "$E2E_TEST_FILTER" == "SCRIPTS" ]; then
./timeout 200 ./e2e_basic_start_stop.sh
duration "e2e_basic_start_stop.sh"
@@ -125,9 +125,9 @@ if [ -z $E2E_TEST_FILTER || $E2E_TEST_FILTER=="SCRIPTS" ]; then
duration "serial client runners"
deactivate
-fi # if E2E_TEST_FILTER = "" or = "SCRIPTS"
+fi # if E2E_TEST_FILTER == "" or == "SCRIPTS"
-if [ -z $E2E_TEST_FILTER || $E2E_TEST_FILTER=="GO" ]; then
+if [ -z "$E2E_TEST_FILTER" ] || [ "$E2E_TEST_FILTER" == "GO" ]; then
# Export our root temp folder as 'TESTDIR' for tests to use as their root test folder
# This allows us to clean up everything with our rm -rf trap.
export TESTDIR=${TEMPDIR}
@@ -146,4 +146,4 @@ if [ -z $E2E_TEST_FILTER || $E2E_TEST_FILTER=="GO" ]; then
echo "----------------------------------------------------------------------"
echo " DONE: E2E"
echo "----------------------------------------------------------------------"
-fi # if E2E_TEST_FILTER = "" or = "GO"
+fi # if E2E_TEST_FILTER == "" or == "GO"