#!/bin/sh
cd debian/tests

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

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

exit $res
