mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
parent
caf8e91588
commit
4f4a1deccb
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source ./schematestutils.sh
|
. ./schematestutils.sh
|
||||||
|
|
||||||
DIRS="capabilityschemadata xencapsdata"
|
DIRS="capabilityschemadata xencapsdata"
|
||||||
SCHEMA="capability.rng"
|
SCHEMA="capability.rng"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source ./schematestutils.sh
|
. ./schematestutils.sh
|
||||||
|
|
||||||
DIRS="domainschemadata qemuxml2argvdata sexpr2xmldata xmconfigdata xml2sexprdata"
|
DIRS="domainschemadata qemuxml2argvdata sexpr2xmldata xmconfigdata xml2sexprdata"
|
||||||
SCHEMA="domain.rng"
|
SCHEMA="domain.rng"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source ./schematestutils.sh
|
. ./schematestutils.sh
|
||||||
|
|
||||||
DIRS="interfaceschemadata"
|
DIRS="interfaceschemadata"
|
||||||
SCHEMA="interface.rng"
|
SCHEMA="interface.rng"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source ./schematestutils.sh
|
. ./schematestutils.sh
|
||||||
|
|
||||||
DIRS="../src/network networkxml2xmlin networkxml2xmlout"
|
DIRS="../src/network networkxml2xmlin networkxml2xmlout"
|
||||||
SCHEMA="network.rng"
|
SCHEMA="network.rng"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source ./schematestutils.sh
|
. ./schematestutils.sh
|
||||||
|
|
||||||
DIRS="nodedevschemadata"
|
DIRS="nodedevschemadata"
|
||||||
SCHEMA="nodedev.rng"
|
SCHEMA="nodedev.rng"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
test -z "$srcdir" && srcdir=`pwd`
|
test -z "$srcdir" && srcdir=`pwd`
|
||||||
test -z "$abs_srcdir" && abs_srcdir=`pwd`
|
test -z "$abs_srcdir" && abs_srcdir=`pwd`
|
||||||
|
|
||||||
function check_schema {
|
check_schema () {
|
||||||
|
|
||||||
DIRS=$1
|
DIRS=$1
|
||||||
SCHEMA="$srcdir/../docs/schemas/$2"
|
SCHEMA="$srcdir/../docs/schemas/$2"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source ./schematestutils.sh
|
. ./schematestutils.sh
|
||||||
|
|
||||||
DIRS="storagepoolxml2xmlin storagepoolxml2xmlout"
|
DIRS="storagepoolxml2xmlin storagepoolxml2xmlout"
|
||||||
SCHEMA="storagepool.rng"
|
SCHEMA="storagepool.rng"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source ./schematestutils.sh
|
. ./schematestutils.sh
|
||||||
|
|
||||||
DIRS="storagevolxml2xmlin storagevolxml2xmlout"
|
DIRS="storagevolxml2xmlin storagevolxml2xmlout"
|
||||||
SCHEMA="storagevol.rng"
|
SCHEMA="storagevol.rng"
|
||||||
|
Loading…
Reference in New Issue
Block a user