[libvirt] [TCK] Add test case for domain hook testing.

Daniel P. Berrange berrange at redhat.com
Fri Oct 22 11:13:55 UTC 2010


On Fri, Oct 22, 2010 at 06:05:46AM +0800, Osier Yang wrote:
> The test case will be valid only when the Sys::Virt::TCK connection
> object is "qemu:///system" or "lxc:///", because currently libvirt
> only support hooks for QEMU and LXC domain.
> 
> Also update scripts/hooks/051-daemon-hook.t, replace "$hook->foo"
> with "$hook->foo()".
> ---
>  lib/Sys/Virt/TCK/Hooks.pm       |    8 +-
>  scripts/hooks/051-daemon-hook.t |   36 ++++----
>  scripts/hooks/052-domain-hook.t |  183 +++++++++++++++++++++++++++++++++++++++
>  3 files changed, 205 insertions(+), 22 deletions(-)
>  create mode 100644 scripts/hooks/052-domain-hook.t

ACK

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.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