#!/bin/sh # Public test: one input. zig build-exe main.zig 2>&1 || { echo "FAIL: build"; exit 1; } out=$(printf 'hello' | ./main) [ "$out" = "hello" ] && echo PASS || { echo "FAIL: got '$out'"; exit 1; }