feat: Standarize boolean values

Allow caseinsensitive values for booleans
This commit is contained in:
Carlos Álvaro
2021-12-30 22:39:47 +01:00
parent 1a388e9cc2
commit 219402535f
10 changed files with 28 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e
[ "${DEBUG}" == true ] && set -vx
[ "${DEBUG,,}" == true ] && set -vx
echo "🧪 Running basic tests ..."
@@ -26,5 +26,5 @@ ok "salt version"
# Test image calling healthcheck
echo "==> Executing healthcheck ..."
docker-exec /usr/local/sbin/healthcheck | grep -i 'true' || error "healthcheck"
docker-exec /usr/local/sbin/healthcheck | grep -i true || error "healthcheck"
ok "healthcheck"