mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +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:
parent
bbae92f8b8
commit
6fdbce1232
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user