From: Eric Blake Date: Thu, 22 Dec 2011 19:00:45 +0000 (-0700) Subject: tests: fix schema checks sorting X-Git-Tag: v0.9.9-rc1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc099b8338c5674f4faa166040f0e990614de22f;p=thirdparty%2Flibvirt.git 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. --- diff --git a/tests/schematestutils.sh b/tests/schematestutils.sh index ec6452a001..4361221607 100644 --- a/tests/schematestutils.sh +++ b/tests/schematestutils.sh @@ -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"