1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00
libvirt/tests/secretschematest
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
168 B
Bash
Executable File

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