1 2 3 4 5 6 7 8 9 10
#!/bin/sh for i in $(ls ./*-test) ; do $i &> /dev/null if [ $? -eq 0 ]; then echo "PASS: $i" else echo "FAIL: $i" fi done