blob: 7327eff94465e2ac40a73ae05d119b79572b674e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
function do_test() {
while read file
do
text=$($1 $file)
res=$?
if [ $res -ne 0 ]
then echo "Erreur : code retour $res"
exit $res
fi
if [ -n "$text" ]
then echo "Erreur : spurious text : '$text'"
exit 253
fi
done
}
find ../styles/ ../level/ ../misc/ -name *.ini | do_test src/test/testfunc_001_lex
|