mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
5a6571eba9
* tests/Makefile.am: Include the contents of the *data directories in the make-dist-built tarball by adding each of that *data directories to EXTRA_DIST. Also add int-overflow (via $(test_scripts)) to EXTRA_DIST. * tests/nodeinfotest.c: Prepend "$abs_top_srcdir/tests" to each input file name. * tests/qemuxml2argvtest.c: Likewise. * tests/qemuxml2xmltest.c: Likewise. * tests/sexpr2xmltest.c: Likewise. * tests/test_conf.sh: Likewise. * tests/virshtest.c: Likewise. * tests/xencapstest.c: Likewise. * tests/xmconfigtest.c: Likewise. * tests/xml2sexprtest.c: Likewise. Author: Jim Meyering <meyering@redhat.com>
19 lines
342 B
Bash
Executable File
19 lines
342 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
NOK=0
|
|
for f in $abs_top_srcdir/tests/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
|