aboutsummaryrefslogtreecommitdiff
path: root/scripts/full-test.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-23 06:06:55 -0600
committerCraig Jennings <c@cjennings.net>2026-02-23 06:06:55 -0600
commit2ef27b6a5d190c4d38eb4d13a039e10c006d7c7b (patch)
tree00cc8eccd698785d53fe4541b334f3aa71651d5b /scripts/full-test.sh
parent1268a283526ca4b1d11d391ede944f055b4abafd (diff)
downloadarchangel-2ef27b6a5d190c4d38eb4d13a039e10c006d7c7b.tar.gz
archangel-2ef27b6a5d190c4d38eb4d13a039e10c006d7c7b.zip
chore: add set -euo pipefail to scripts for safety
Enable undefined variable checking (set -u) and pipefail across standalone scripts. Guard SUDO_USER references with ${SUDO_USER:-} for set -u compatibility.
Diffstat (limited to 'scripts/full-test.sh')
-rwxr-xr-xscripts/full-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/full-test.sh b/scripts/full-test.sh
index 7728859..e500116 100755
--- a/scripts/full-test.sh
+++ b/scripts/full-test.sh
@@ -22,7 +22,7 @@
# 1 - One or more tests failed
# 2 - Setup/infrastructure error
-set -e
+set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_DIR="$(dirname "$SCRIPT_DIR")"