mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-06 05:11:14 +00:00
3bbac7cdb6
* configure.in include/libvirt/virterror.h src/Makefile.am src/conf.c src/conf.h src/virterror.c src/xen_internal.c: adding a subset of Xen config file parser, and serializer * tests/Makefile.am tests/conftest.c tests/test_conf.sh tests/confdata/Makefile.am tests/confdata/fc4.conf tests/confdata/fc4.out: adding test program for config in and out Daniel
18 lines
310 B
Bash
Executable File
18 lines
310 B
Bash
Executable File
#!/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
|