mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
18 lines
310 B
Bash
18 lines
310 B
Bash
|
#!/bin/bash
|
||
|
NOK=0
|
||
|
for f in confdata/*.conf
|
||
|
do
|
||
|
./conftest $f > conftest.$$
|
||
|
outfile=`echo $f | sed s+\.conf+\.out+`
|
||
|
diff $outfile conftest.$$ > /dev/null
|
||
|
if [ $? != 0 ]
|
||
|
then
|
||
|
echo "$f FAILED"
|
||
|
NOK=1
|
||
|
else
|
||
|
echo "$f OK"
|
||
|
fi
|
||
|
done
|
||
|
rm -f conftest.$$
|
||
|
exit $NOK
|