diff --git a/scripts/tests.e2e.persistent.sh b/scripts/tests.e2e.persistent.sh index a891d7334997..409699fd02ae 100755 --- a/scripts/tests.e2e.persistent.sh +++ b/scripts/tests.e2e.persistent.sh @@ -19,8 +19,7 @@ fi AVALANCHEGO_PATH="${AVALANCHEGO_PATH:-./build/avalanchego}" if [[ -z "${AVALANCHEGO_PATH}" ]]; then - echo "Missing AVALANCHEGO_PATH argument!" - echo "Usage: ${0} [AVALANCHEGO_PATH]" >>/dev/stderr + echo "Empty AVALANCHEGO_PATH env var!" exit 255 fi # Ensure an absolute path to avoid dependency on the working directory diff --git a/scripts/tests.e2e.sh b/scripts/tests.e2e.sh index 7473f640adca..1e89a1c1d782 100755 --- a/scripts/tests.e2e.sh +++ b/scripts/tests.e2e.sh @@ -35,8 +35,7 @@ if [[ -n "${E2E_USE_PERSISTENT_NETWORK}" && -n "${TESTNETCTL_NETWORK_DIR}" ]]; t else AVALANCHEGO_PATH="${AVALANCHEGO_PATH:-./build/avalanchego}" if [[ -z "${AVALANCHEGO_PATH}" ]]; then - echo "Missing AVALANCHEGO_PATH argument!" - echo "Usage: ${0} [AVALANCHEGO_PATH]" >>/dev/stderr + echo "Empty AVALANCHEGO_PATH env var!" exit 255 fi echo "running e2e tests against an ephemeral local cluster deployed with ${AVALANCHEGO_PATH}"