From f59dc2a36132441bf3d09e2bddcf62f7b5b5c7ef Mon Sep 17 00:00:00 2001 From: Tommy Verrall Date: Thu, 23 Feb 2023 11:11:34 +0200 Subject: [PATCH] push change --- tests/nym-gateway-binary-check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/nym-gateway-binary-check.sh b/tests/nym-gateway-binary-check.sh index 9205164261..390fe9343f 100755 --- a/tests/nym-gateway-binary-check.sh +++ b/tests/nym-gateway-binary-check.sh @@ -27,11 +27,11 @@ chmod u+x $BINARY_NAME # functions #-------------------------------------- -check_gateway_binary_build() if [ -f nym-gateway ]; then +check_gateway_binary_build() if [ -f "$BINARY_NAME" ]; then echo "running init tests" # we wont use config env files for now # unless we want to use a specific environment - OUTPUT=$(./nym-gateway --output json init --id ${ID} --host ${MOCK_HOST} --wallet-address ${WALLET_ADDRESS_CONST}) >/dev/null 2>&1 + OUTPUT=$(./${BINARY_NAME} --output json init --id ${ID} --host ${MOCK_HOST} --wallet-address ${WALLET_ADDRESS_CONST}) >/dev/null 2>&1 # get jq values for things we can assert against VALUE=$(echo ${OUTPUT} | jq .wallet_address)