#!/bin/sh ERRORS=0 for f in parser/*.hs ; do /bin/sh testOne ${f%.hs}; ERRORS=$[$ERRORS+$?] ; done exit $ERRORS