Remove bashisms from schema tests.

Introduced in commit 39a7be470c.

* tests/*schematest: replace 'source' with '.'
* tests/schematestutils.sh: remove 'function' keyword and add '()'
This commit is contained in:
Matthias Bolte 2009-10-17 01:16:25 +02:00
parent caf8e91588
commit 4f4a1deccb
8 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="capabilityschemadata xencapsdata"
SCHEMA="capability.rng"

View File

@ -1,6 +1,6 @@
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="domainschemadata qemuxml2argvdata sexpr2xmldata xmconfigdata xml2sexprdata"
SCHEMA="domain.rng"

View File

@ -1,6 +1,6 @@
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="interfaceschemadata"
SCHEMA="interface.rng"

View File

@ -1,6 +1,6 @@
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="../src/network networkxml2xmlin networkxml2xmlout"
SCHEMA="network.rng"

View File

@ -1,6 +1,6 @@
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="nodedevschemadata"
SCHEMA="nodedev.rng"

View File

@ -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"

View File

@ -1,6 +1,6 @@
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="storagepoolxml2xmlin storagepoolxml2xmlout"
SCHEMA="storagepool.rng"

View File

@ -1,6 +1,6 @@
#!/bin/sh
source ./schematestutils.sh
. ./schematestutils.sh
DIRS="storagevolxml2xmlin storagevolxml2xmlout"
SCHEMA="storagevol.rng"