#!/bin/sh
cd debian/tests

echo "info: compiling"
(cobc test01.cob > test01.act 2>&1)

echo "info: running"
cmp -s test01.exp test01.act
res=$?
if [ $res ] ; then
    echo "success: test01 produced proper results"
else
    echo "error: test01 did not produce proper results"
fi

exit $res
