1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00
libvirt/tests/domaincapsschematest
Cole Robinson ace4aecd5e tests: Fix running schematests directly from topdir
Previously it failed like:

$ ./tests/domainschematest
./tests/domainschematest: line 4: ./test-lib.sh: No such file or directory
2016-01-08 21:21:34 -05:00

12 lines
191 B
Bash
Executable File

#!/bin/sh
: ${srcdir=$(dirname $0)}
. $srcdir/test-lib.sh
. $abs_srcdir/schematestutils.sh
DIRS=""
DIRS="$DIRS domaincapsschemadata"
SCHEMA="domaincaps.rng"
check_schema "$DIRS" "$SCHEMA"