From b00f2b972100179ac1e907ed88ebbe1440d3a19e Mon Sep 17 00:00:00 2001 From: Maru Newby Date: Thu, 30 Nov 2023 17:03:13 -0800 Subject: [PATCH] Attemp to work around ancient bash version in macos unit test machine --- scripts/tests.integration.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tests.integration.sh b/scripts/tests.integration.sh index b6b55ddd2c..db5a2a602c 100755 --- a/scripts/tests.integration.sh +++ b/scripts/tests.integration.sh @@ -16,7 +16,7 @@ fi export AVALANCHEGO_CLONE_PATH="${AVALANCHEGO_CLONE_PATH:-avalanchego}" # Only build avalanchego if using the network fixture -if [[ "${@}" =~ "--use-network-fixture" ]]; then +if [[ "$@" =~ "--use-network-fixture" ]]; then ./scripts/build_avalanchego.sh export AVALANCHEGO_PATH="$(realpath ${AVALANCHEGO_PATH:-${AVALANCHEGO_CLONE_PATH}/build/avalanchego})" fi @@ -28,4 +28,4 @@ ACK_GINKGO_RC=true ginkgo build ./tests/integration ./tests/integration/integration.test --help # Execute in random order to identify unwanted dependency -./tests/integration/integration.test --ginkgo.randomize-all --ginkgo.trace --ginkgo.v "${@}" +./tests/integration/integration.test --ginkgo.randomize-all --ginkgo.trace --ginkgo.v "$@"