libvirt/tests/domainsnapshotschematest
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

11 lines
209 B
Bash
Executable File

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