#!/bin/sh for test in *_test; do if ./${test}; then echo "PASS: ${test}" else echo "FAIL: ${test}" fi done