summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-01-09 08:37:22 +0100
committerJim Meyering <meyering@redhat.com>2010-01-09 08:37:22 +0100
commite6abf3d8f2a60249955c4d59e7b994a99faf8ace (patch)
treefc6bf6dc214ca37255e0b843e59314487726251d /tests/interfaceschematest
parentlet "configure --disable-shared" work once again (diff)
downloadlibvirt-e6abf3d8f2a60249955c4d59e7b994a99faf8ace.tar.gz
libvirt-e6abf3d8f2a60249955c4d59e7b994a99faf8ace.tar.bz2
libvirt-e6abf3d8f2a60249955c4d59e7b994a99faf8ace.zip
fix 7 "make check" test failures in non-srcdir build
* tests/capabilityschematest: Define and use $srcdir. * tests/domainschematest: Likewise. * tests/interfaceschematest: Likewise. * tests/networkschematest: Likewise. * tests/nodedevschematest: Likewise. * tests/storagepoolschematest: Likewise. * tests/storagevolschematest: Likewise.
Diffstat (limited to 'tests/interfaceschematest')
-rwxr-xr-xtests/interfaceschematest3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/interfaceschematest b/tests/interfaceschematest
index e9ec2a47d..8e9f6ee21 100755
--- a/tests/interfaceschematest
+++ b/tests/interfaceschematest
@@ -1,6 +1,7 @@
#!/bin/sh
-. ./schematestutils.sh
+: ${srcdir=.}
+. $srcdir/schematestutils.sh
DIRS="interfaceschemadata"
SCHEMA="interface.rng"