mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-07-08 20:59:40 +03:00
tests: run schema checks in sorted order
Having a test that depends on file system timestamps and/or inode allocation order gives non-deterministic output. * tests/schematestutils.sh: Run test in deterministic order.
This commit is contained in:
@ -13,7 +13,7 @@ for dir in $DIRS
|
||||
do
|
||||
XML=`find $abs_srcdir/$dir -name '*.xml'` || exit 1
|
||||
|
||||
for xml in $XML
|
||||
for xml in `echo $XML | sort`
|
||||
do
|
||||
n=`expr $n + 1`
|
||||
cmd="xmllint --relaxng $SCHEMA --noout $xml"
|
||||
|
Reference in New Issue
Block a user