From f87f3d4765ae43460764f9a542e567c59a7e8c4c Mon Sep 17 00:00:00 2001 From: David Boreham Date: Thu, 20 Apr 2023 16:26:19 -0600 Subject: [PATCH] Stop on error Former-commit-id: 7c6b2543af53cbf0cb79af1d9aadc262a4052e80 --- tests/smoke-test/run-smoke-test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/smoke-test/run-smoke-test.sh b/tests/smoke-test/run-smoke-test.sh index 777c608..5bd82ff 100755 --- a/tests/smoke-test/run-smoke-test.sh +++ b/tests/smoke-test/run-smoke-test.sh @@ -1,3 +1,8 @@ +#!/usr/bin/env bash +set -e +if [ -n "$CERC_SCRIPT_DEBUG" ]; then + set -x +fi # Basic simple test of stack-orchestrator functionality echo "Running stack-orchestrator smoke test" # Bit of a hack, test the most recent package