hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
 
cd tests
for i in test*[0-9] ; do
    if ./${i} | cmp -s "${i}.ans" - ; then
        echo "PASS: ${i}"
    else
        echo "FAIL: ${i}"
    fi
done