]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: fix schema checks sorting
authorEric Blake <eblake@redhat.com>
Thu, 22 Dec 2011 19:00:45 +0000 (12:00 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 22 Dec 2011 20:01:09 +0000 (13:01 -0700)
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.

tests/schematestutils.sh

index ec6452a001ed8022e38cd9faaf1975dec440ca4a..43612216076434ccab5a98e35ec78c8aa507b4f1 100644 (file)
@@ -13,7 +13,7 @@ for dir in $DIRS
 do
   XML=`find $abs_srcdir/$dir -name '*.xml'` || exit 1
 
-  for xml in `echo $XML | sort`
+  for xml in `echo "$XML" | sort`
   do
     n=`expr $n + 1`
     cmd="xmllint --relaxng $SCHEMA --noout $xml"