[libvirt] [PATCH 03/10] tests: Break out duplicate schema verification functionality.

Daniel P. Berrange berrange at redhat.com
Tue Oct 13 13:24:15 UTC 2009


On Mon, Oct 12, 2009 at 10:46:47AM -0400, Cole Robinson wrote:
> All schema tests have identical functionality, so avoid the duplication.
> 
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
>  tests/Makefile.am           |    1 +
>  tests/capabilityschematest  |   34 ++++------------------------------
>  tests/domainschematest      |   33 ++++-----------------------------
>  tests/interfaceschematest   |   31 +++----------------------------
>  tests/networkschematest     |   30 +++---------------------------
>  tests/nodedevschematest     |   31 +++----------------------------
>  tests/schematestutils.sh    |   39 +++++++++++++++++++++++++++++++++++++++
>  tests/storagepoolschematest |   31 +++----------------------------
>  tests/storagevolschematest  |   30 +++---------------------------
>  9 files changed, 63 insertions(+), 197 deletions(-)
>  create mode 100644 tests/schematestutils.sh

ACK


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list