test: smoke scripts fail when they stop before their last check

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-26 18:44:10 +02:00
co-authored by Claude Opus 5.5
parent 3a5f658f35
commit 314b3d0756
6 changed files with 24 additions and 10 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ cleanup() {
cleanup_app_passwords_for lit-smoke-sub
wp user delete lit-smoke-sub --yes >/dev/null 2>&1 || true
}
trap cleanup EXIT
trap 'rc=$?; cleanup; guard_exit "$rc" || exit $?' EXIT
# 0. Booting REST triggers no _doing_it_wrong(). A regression in the
# unhook-before-create ordering (ServerRegistrar::createServer()) would
@@ -156,4 +156,4 @@ echo "$SUB_META" | grep -Eq 'lacks required capability|nicht freigegeben' \
|| fail "execute-ability denial lacks role-gate message: $SUB_META"
pass "role gate blocks subscriber (direct tool and meta-tool)"
echo "ALL CHECKS PASSED"
finish