mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
856e84a516
This unifies the test scripts to all use the similar pattern added for
schematests in ace4aecd
. This gives the following
- Enables running all tests from outside of tests/ dir
- Drops redundant abs_* definitions, which are set by test-lib.sh
- Drops unnecessary srcdir variable which was only used for sourcing
test-lib.sh
Behavior changes:
- srcdir can no longer be overwritten, but I don't know why anyone would
really need to...
- Script VERBOSE setting no longer prints commands executed by test-lib.sh.
if anyone cares I suggest handling this in test-lib.sh which already
has other verbose style handling
10 lines
171 B
Bash
Executable File
10 lines
171 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "$(dirname $0)/test-lib.sh"
|
|
. $abs_srcdir/schematestutils.sh
|
|
|
|
DIRS="capabilityschemadata xencapsdata"
|
|
SCHEMA="capability.rng"
|
|
|
|
check_schema "$DIRS" "$SCHEMA"
|