#!/bin/sh # Public test: one input. cargo build -q --offline || { echo "FAIL: build"; exit 1; } out=$(printf 'hello' | ./target/debug/echo) [ "$out" = "hello" ] && echo PASS || { echo "FAIL: got '$out'"; exit 1; }