]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: consistently source test-lib.sh in scripts
authorCole Robinson <crobinso@redhat.com>
Thu, 21 Apr 2016 17:50:18 +0000 (13:50 -0400)
committerCole Robinson <crobinso@redhat.com>
Sat, 23 Apr 2016 19:41:40 +0000 (15:41 -0400)
commit856e84a51675a0dccf0bde3e5e7bcf83eb708c02
tree6a99641ff7bcfc5d83f2d3e4e046d79a3916eed8
parent18644491de68f9a654061f2748486f1c69900d17
tests: consistently source test-lib.sh in scripts

This unifies the test scripts to all use the similar pattern added for
schematests in ace4aecd. This gives the following

- Enables running all tests from outside of tests/ dir
- Drops redundant abs_* definitions, which are set by test-lib.sh
- Drops unnecessary srcdir variable which was only used for sourcing
    test-lib.sh

Behavior changes:

- srcdir can no longer be overwritten, but I don't know why anyone would
    really need to...
- Script VERBOSE setting no longer prints commands executed by test-lib.sh.
    if anyone cares I suggest handling this in test-lib.sh which already
    has other verbose style handling
27 files changed:
tests/capabilityschematest
tests/domaincapsschematest
tests/domainschematest
tests/domainsnapshotschematest
tests/interfaceschematest
tests/libvirtd-fail
tests/libvirtd-pool
tests/networkschematest
tests/nodedevschematest
tests/nwfilterschematest
tests/secretschematest
tests/storagepoolschematest
tests/storagevolschematest
tests/virconftest.sh
tests/virsh-all
tests/virsh-cpuset
tests/virsh-define-dev-segfault
tests/virsh-int-overflow
tests/virsh-optparse
tests/virsh-read-bufsiz
tests/virsh-read-non-seekable
tests/virsh-schedinfo
tests/virsh-start
tests/virsh-synopsis
tests/virsh-undefine
tests/virsh-uriprecedence
tests/virsh-vcpupin