提交 4f4a1dec 编写于 作者: M Matthias Bolte

Remove bashisms from schema tests.

Introduced in commit 39a7be47.

* tests/*schematest: replace 'source' with '.'
* tests/schematestutils.sh: remove 'function' keyword and add '()'
上级 caf8e915
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="capabilityschemadata xencapsdata"
SCHEMA="capability.rng"
......
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="domainschemadata qemuxml2argvdata sexpr2xmldata xmconfigdata xml2sexprdata"
SCHEMA="domain.rng"
......
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="interfaceschemadata"
SCHEMA="interface.rng"
......
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="../src/network networkxml2xmlin networkxml2xmlout"
SCHEMA="network.rng"
......
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="nodedevschemadata"
SCHEMA="nodedev.rng"
......
......@@ -3,7 +3,7 @@
test -z "$srcdir" && srcdir=`pwd`
test -z "$abs_srcdir" && abs_srcdir=`pwd`
function check_schema {
check_schema () {
DIRS=$1
SCHEMA="$srcdir/../docs/schemas/$2"
......
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="storagepoolxml2xmlin storagepoolxml2xmlout"
SCHEMA="storagepool.rng"
......
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="storagevolxml2xmlin storagevolxml2xmlout"
SCHEMA="storagevol.rng"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册