#!/bin/sh

errors=0

if [ ! -f tools/standard.dat ]; then
    exit 0
fi

for test in \
    "-O nrl:checking" \
    "-O ^expenses"    \
    "-B 401"	      \
    "-V 401"	      \
    "-G 401"	      \
    "-B ira"	      \
    "-V ira"	      \
    "-G ira"	      \
    "-B retire"       \
    "-V retire"       \
    "-G retire"
do
  echo testing: $test
  python tests/confirm.py $test
  errors=`expr $errors + $?`
done

exit $errors