#!/bin/sh
printf "Testing errors..."
./asy -sysdir base -noautoplain -debug errortest 2> errors.temp
result=`diff errors.temp errors`
if test "$result" = ""; then
echo PASSED.
else
echo FAILED.
echo "$result"
exit 1
fi
