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.
This commit is contained in:
Jim Meyering 2010-01-09 08:37:22 +01:00
parent 048781fe71
commit e6abf3d8f2
7 changed files with 14 additions and 7 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh
. ./schematestutils.sh
: ${srcdir=.}
. $srcdir/schematestutils.sh
DIRS="capabilityschemadata xencapsdata"
SCHEMA="capability.rng"

View File

@ -1,6 +1,7 @@
#!/bin/sh
. ./schematestutils.sh
: ${srcdir=.}
. $srcdir/schematestutils.sh
DIRS="domainschemadata qemuxml2argvdata sexpr2xmldata xmconfigdata xml2sexprdata"
SCHEMA="domain.rng"

View File

@ -1,6 +1,7 @@
#!/bin/sh
. ./schematestutils.sh
: ${srcdir=.}
. $srcdir/schematestutils.sh
DIRS="interfaceschemadata"
SCHEMA="interface.rng"

View File

@ -1,6 +1,7 @@
#!/bin/sh
. ./schematestutils.sh
: ${srcdir=.}
. $srcdir/schematestutils.sh
DIRS="../src/network networkxml2xmlin networkxml2xmlout"
SCHEMA="network.rng"

View File

@ -1,6 +1,7 @@
#!/bin/sh
. ./schematestutils.sh
: ${srcdir=.}
. $srcdir/schematestutils.sh
DIRS="nodedevschemadata"
SCHEMA="nodedev.rng"

View File

@ -1,6 +1,7 @@
#!/bin/sh
. ./schematestutils.sh
: ${srcdir=.}
. $srcdir/schematestutils.sh
DIRS="storagepoolxml2xmlin storagepoolxml2xmlout"
SCHEMA="storagepool.rng"

View File

@ -1,6 +1,7 @@
#!/bin/sh
. ./schematestutils.sh
: ${srcdir=.}
. $srcdir/schematestutils.sh
DIRS="storagevolxml2xmlin storagevolxml2xmlout"
SCHEMA="storagevol.rng"