[PATCH] tests: fix schema checks sorting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
---

Pushing under the trivial rule.
/me pulls brown paper bag over face - so much for being known as a shell expert :)

 tests/schematestutils.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/schematestutils.sh b/tests/schematestutils.sh
index ec6452a..4361221 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"
-- 
1.7.7.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]