piler/test/check.sh

12 lines
203 B
Bash
Raw Normal View History

2015-07-02 14:35:45 +02:00
#!/bin/bash
for i in ../testemails/raw/*; do
./test $i > aa;
diff aa ../testemails/parsed/`basename $i`;
if [ $? -eq 0 ]; then echo OK; else echo `basename $i`": ERROR"; fi
done
rm -f aa