Artifact ad8ceb59e99474a4092334ac379591f18f1f9a8b3042e2e4d0539aff78a7cd9c:
- File
test/context/test-driver.sh
— part of check-in
[11f47eadde]
at
2026-11-18 11:58:22
on branch trunk
— Record S0/S1 qualification groundwork before product code
Contract maps and pinned Pi reference, local C qualification fixtures, MC/DC and Fil-C remote lifecycle tooling, and the context transaction substrate probe. No product harness code yet. (user: dmestas, size: 736) [annotate] [blame] [check-ins using]
#!/bin/sh # Integration contract for the isolated current-context storage probe. set -eu ROOT=$(CDPATH='' cd -- "$(dirname -- "$0")/../.." && pwd) LOG=$(mktemp "${TMPDIR:-/tmp}/context-driver.XXXXXX") trap 'rm -f "$LOG"' 0 trap 'exit 129' HUP trap 'exit 130' INT trap 'exit 143' TERM if sh "$ROOT/tools/test-context.sh" "$@" >"$LOG" 2>&1; then : else status=$? /bin/cat "$LOG" >&2 exit "$status" fi /bin/cat "$LOG" grep -Fx 'PASS: context commit survives reopen' "$LOG" >/dev/null grep -Fx 'PASS: context rollback survives reopen' "$LOG" >/dev/null grep -Fx 'PASS: context statement failure explicitly rolled back across reopen' "$LOG" >/dev/null grep -Fx 'PASS: rollback oracle rejects commit mutant' "$LOG" >/dev/null