Spaces:
Running
Running
Download source/teaql-ts/scripts/fixtures/checker-overlap-command.sh from teaql/browser-sqlite-playground: direct link, hf CLI and curl.
- Browser
- Download file 624 Bytes
-
https://huggingface.co/spaces/teaql/browser-sqlite-playground/resolve/main/source/teaql-ts/scripts/fixtures/checker-overlap-command.sh
- Command line
-
hf download hf://spaces/teaql/browser-sqlite-playground/source/teaql-ts/scripts/fixtures/checker-overlap-command.sh
-
curl -L -o checker-overlap-command.sh https://huggingface.co/spaces/teaql/browser-sqlite-playground/resolve/main/source/teaql-ts/scripts/fixtures/checker-overlap-command.sh
624 Bytes
| set -euo pipefail | |
| # Test-only npm stand-in; never invoked by a real consumer verification. | |
| marker='PASS TypeScript generated Checker overlap: 4 scenarios; real Required rejection, no rejected commands/business SQL/audit; transactions serialized' | |
| case "${TEAQL_CHECKER_GUARD_CONTROL:?test mode required}" in | |
| timeout) printf '%s\n' "$marker"; exec sleep 30 ;; | |
| nonzero) printf '%s\n' "$marker"; exit 7 ;; | |
| missing) echo 'process exited successfully without completing Checker assertions' ;; | |
| partial) printf 'prefix %s suffix\n' "$marker" ;; | |
| success) printf '%s\n' "$marker" ;; | |
| *) exit 2 ;; | |
| esac | |