Files
linuxcncAllWasm/tests/threads.1/checkresult
2026-08-20 06:17:39 +08:00

5 lines
123 B
Bash
Executable File

#!/bin/sh -e
# Check that the tmax for a hal function is nonzero
CYCLES=$(cat "$1")
test ! -z "$CYCLES" -a "$CYCLES" -gt 0