1#!/bin/sh 2echo -n "Testing errors..." 3./asy -noautoplain -debug errortest 2> errors.temp 4result=`diff errors.temp errors` 5if [ "$result" = "" ]; then 6echo PASSED. 7else 8echo FAILED. 9echo "$result" 10exit 1 11fi 12