#!/bin/sh EGREP="grep -E" PLATFORM="`uname -s`" [ "$PLATFORM" = "SunOS" ] && EGREP=egrep set -e do_tests() { echo cd tests ./test.lua | $EGREP 'version|PASS|FAIL' cd .. } cat <