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 2013-08-22 09:30:50 -06:00
parent 8f3ead2da9
commit 48d6ae1fb6

View File

@ -1,5 +1,7 @@
#!/bin/sh
(xmllint --version) >/dev/null 2>&1 || skip_test_ 'Missing xmllint'
check_schema () {
DIRS=$1