18 lines
213 B
Bash
18 lines
213 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
for t in test/*
|
||
|
do
|
||
|
printf "Test $t ... "
|
||
|
|
||
|
./lisc $t 2>&1 > /tmp/out.0
|
||
|
./lisc.1 $t 2>&1 > /tmp/out.1
|
||
|
|
||
|
if diff /tmp/out.0 /tmp/out.1 > /dev/null
|
||
|
then
|
||
|
echo "OK"
|
||
|
else
|
||
|
echo "KO"
|
||
|
break
|
||
|
fi
|
||
|
done
|