diff --git a/tests/deploy/run-deploy-test.sh b/tests/deploy/run-deploy-test.sh index c713b13..1e820ed 100755 --- a/tests/deploy/run-deploy-test.sh +++ b/tests/deploy/run-deploy-test.sh @@ -3,6 +3,14 @@ set -e if [ -n "$STACK_SCRIPT_DEBUG" ]; then set -x fi + +# Check for required utilities +if ! command -v jq &> /dev/null; then + echo "Error: jq is not installed." + echo "Please install jq to run this test script." + exit 1 +fi + # Dump environment variables for debugging echo "Environment variables:" env diff --git a/tests/k8s-deploy/run-deploy-test.sh b/tests/k8s-deploy/run-deploy-test.sh index d9b896d..8bbecc2 100755 --- a/tests/k8s-deploy/run-deploy-test.sh +++ b/tests/k8s-deploy/run-deploy-test.sh @@ -5,6 +5,13 @@ if [ -n "$STACK_SCRIPT_DEBUG" ]; then set -x fi +# Check for required utilities +if ! command -v jq &> /dev/null; then + echo "Error: jq is not installed." + echo "Please install jq to run this test script." + exit 1 +fi + # Dump environment variables for debugging echo "Environment variables:" env