mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
tests: fix schema checks sorting
Commit 6fdbce12 attempted to sort the list of tests, but failed (without quotes, echo merges all the tests into a single line, so there was nothing to sort). * tests/schematestutils.sh: Fix thinko in previous patch.
This commit is contained in:
parent
d8db0f9690
commit
dc099b8338
@ -13,7 +13,7 @@ for dir in $DIRS
|
|||||||
do
|
do
|
||||||
XML=`find $abs_srcdir/$dir -name '*.xml'` || exit 1
|
XML=`find $abs_srcdir/$dir -name '*.xml'` || exit 1
|
||||||
|
|
||||||
for xml in `echo $XML | sort`
|
for xml in `echo "$XML" | sort`
|
||||||
do
|
do
|
||||||
n=`expr $n + 1`
|
n=`expr $n + 1`
|
||||||
cmd="xmllint --relaxng $SCHEMA --noout $xml"
|
cmd="xmllint --relaxng $SCHEMA --noout $xml"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user