mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-23 21:57:40 +03:00
Remove bashisms from schema tests.
Introduced in commit 39a7be470cc5477a96a4d53194291bf4c7b07185. * 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
|
||||
|
||||
source ./schematestutils.sh
|
||||
. ./schematestutils.sh
|
||||
|
||||
DIRS="capabilityschemadata xencapsdata"
|
||||
SCHEMA="capability.rng"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
source ./schematestutils.sh
|
||||
. ./schematestutils.sh
|
||||
|
||||
DIRS="domainschemadata qemuxml2argvdata sexpr2xmldata xmconfigdata xml2sexprdata"
|
||||
SCHEMA="domain.rng"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
source ./schematestutils.sh
|
||||
. ./schematestutils.sh
|
||||
|
||||
DIRS="interfaceschemadata"
|
||||
SCHEMA="interface.rng"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
source ./schematestutils.sh
|
||||
. ./schematestutils.sh
|
||||
|
||||
DIRS="../src/network networkxml2xmlin networkxml2xmlout"
|
||||
SCHEMA="network.rng"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/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"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
source ./schematestutils.sh
|
||||
. ./schematestutils.sh
|
||||
|
||||
DIRS="storagepoolxml2xmlin storagepoolxml2xmlout"
|
||||
SCHEMA="storagepool.rng"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
source ./schematestutils.sh
|
||||
. ./schematestutils.sh
|
||||
|
||||
DIRS="storagevolxml2xmlin storagevolxml2xmlout"
|
||||
SCHEMA="storagevol.rng"
|
||||
|
Loading…
x
Reference in New Issue
Block a user