#! /bin/sh
returncode=0
for nb in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24; do
# I used to perform that loop in a ``smart'' way but in obscure cases
# it failed and I'm not going to try to understand why at 2:00AM
    ../simple ${srcdir}/test${nb}.simple >test${nb}.verif
# I guess ``../simple'' is not good but what should I use instead?
    if diff test${nb}.verif ${srcdir}/test${nb}.output >/dev/null; then
	echo "Test $nb passed"
    else
        echo "Test $nb failed!"
	returncode=1
    fi
done
exit $returncode
