1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh printf "Testing errors..." ./asy -q -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