#!/bin/sh for i in `ls test/*_test`; do $i if [ $? -eq 0 ]; then echo "PASS: $i" else echo "FAIL: $i" fi done