#!/bin/sh # Q89 CHECK -- the import-time-read detector, graded on the spellings it names # and on one no list can name. # # rc 0 = every leg as expected; 1 = a graded fault; 2 = could not grade. # The work is done by wizard-work/volt/q89_verify.py beside this file; it copies # the forge lane and the seed it reads into a temp root, so the tree this # instrument ships in is never mutated. Run it from any checkout. set -u REPO="$(cd "$(dirname "$0")/../.." && pwd)" || exit 2 if ! cd "$REPO"; then echo "q89: could not grade -- cannot cd to $REPO" exit 2 fi if ! command -v python3 >/dev/null 2>&1; then echo "q89: could not grade -- no python3 on PATH" exit 2 fi exec python3 wizard-work/volt/q89_verify.py