tests: skip schema validation tests if xmllint is missing

On IRC, someone complained that a system without xmllint installed
failed a number of tests.

* tests/schematestutils.sh: Probe for xmllint.

Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Eric Blake committed 2013-08-23 15:23:44 -06:00
1 parent 8f3ead2da9
commit 48d6ae1fb6
1 file changed
+2
+2
View File
@@ -1,5 +1,7 @@
#!/bin/sh
(xmllint --version) >/dev/null 2>&1 || skip_test_ 'Missing xmllint'
check_schema () {
DIRS=$1