#!/usr/bin/env bash set -euo pipefail cd "$(dirname "$0")" probe=$(./build-linuxcnc-wasm-standalone-probe.sh --mode tooldata-link) "$probe" 2>"$probe.err" grep -F "tool_mmap_user(): tool mmap not available" "$probe.err" >/dev/null grep -F "tooldata_put() no tool_mmap_base" "$probe.err" >/dev/null echo "linuxcnc wasm tooldata shim link probe passed"